Java Code Examples for org.omg.CORBA.UNKNOWN#initCause()

The following examples show how to use org.omg.CORBA.UNKNOWN#initCause() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InterceptorsSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unknownRequestInvoke( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_REQUEST_INVOKE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "INTERCEPTORS.unknownRequestInvoke",
            parameters, InterceptorsSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 2
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN otshookexception( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( OTSHOOKEXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.otshookexception",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 3
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN unknownLocalinvocationError( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_LOCALINVOCATION_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownLocalinvocationError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 4
Source File: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN resolveFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( RESOLVE_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.resolveFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 5
Source File: InterceptorsSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN unknownRequestInvoke( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_REQUEST_INVOKE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "INTERCEPTORS.unknownRequestInvoke",
            parameters, InterceptorsSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 6
Source File: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN bindFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( BIND_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.bindFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 7
Source File: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN bindUpdateContextFailed( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( BIND_UPDATE_CONTEXT_FAILED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.bindUpdateContextFailed",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 8
Source File: UtilSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "UTIL.unknownSysex",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 9
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unsupportedSystemException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNSUPPORTED_SYSTEM_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.unsupportedSystemException",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 10
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN unknownUserException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_USER_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "OMG.unknownUserException",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 11
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN bindUpdateContextFailed( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( BIND_UPDATE_CONTEXT_FAILED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.bindUpdateContextFailed",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 12
Source File: UtilSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "UTIL.unknownSysex",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 13
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unknownLocalinvocationError( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_LOCALINVOCATION_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownLocalinvocationError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 14
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN unknownServerException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVER_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownServerException",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 15
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unknownServerException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVER_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownServerException",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 16
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public UNKNOWN piUnknownUserException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( PI_UNKNOWN_USER_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.piUnknownUserException",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 17
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN unbindFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNBIND_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.unbindFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 18
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN resolveFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( RESOLVE_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.resolveFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 19
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN resolveConversionFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( RESOLVE_CONVERSION_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.resolveConversionFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 20
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public UNKNOWN bindFailure( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( BIND_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.bindFailure",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}