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

The following are Jave code examples for showing how to use badUrl() 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 val = (String)value ;
    try {
        return new URL( val ) ;
    } catch (MalformedURLException exc) {
        ORBUtilSystemException wrapper = ORBUtilSystemException.get(
            CORBALogDomains.ORB_LIFECYCLE ) ;
        throw wrapper.badUrl( exc, val ) ;
    }
}
 
Example 2
Project: openjdk-jdk10   File: OperationFactory.java   Source Code and License Vote up 5 votes
public Object operate( Object value )
{
    String val = (String)value ;
    try {
        return new URL( val ) ;
    } catch (MalformedURLException exc) {
        ORBUtilSystemException wrapper = ORBUtilSystemException.get(
            CORBALogDomains.ORB_LIFECYCLE ) ;
        throw wrapper.badUrl( exc, val ) ;
    }
}