Java Code Examples for com.sun.corba.se.impl.logging.ORBUtilSystemException.couldNotLoadClass()

The following are Jave code examples for showing how to use couldNotLoadClass() of the com.sun.corba.se.impl.logging.ORBUtilSystemException class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: OpenJSharp   File: OperationFactory.java   Source Code and License Vote up 5 votes
public Object operate( Object value )
{
    String className = getString( value ) ;

    try {
        Class<?> result =
            SharedSecrets.getJavaCorbaAccess().loadClass( className ) ;
        return result ;
    } catch (Exception exc) {
        ORBUtilSystemException wrapper = ORBUtilSystemException.get(
            CORBALogDomains.ORB_LIFECYCLE ) ;
        throw wrapper.couldNotLoadClass( exc, className ) ;
    }
}
 
Example 2
Project: openjdk-jdk10   File: OperationFactory.java   Source Code and License Vote up 5 votes
public Object operate( Object value )
{
    String className = getString( value ) ;

    try {
        Class<?> result =
            SharedSecrets.getJavaCorbaAccess().loadClass( className ) ;
        return result ;
    } catch (Exception exc) {
        ORBUtilSystemException wrapper = ORBUtilSystemException.get(
            CORBALogDomains.ORB_LIFECYCLE ) ;
        throw wrapper.couldNotLoadClass( exc, className ) ;
    }
}