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

The following examples show how to use org.omg.CORBA.INITIALIZE#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: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE transNsCannotCreateInitialNcSys( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC_SYS, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNcSys",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 2
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE priorityRangeRestrict( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PRIORITY_RANGE_RESTRICT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.priorityRangeRestrict",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 3
Source File: ActivationSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE cannotAddInitialNaming( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( CANNOT_ADD_INITIAL_NAMING, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ACTIVATION.cannotAddInitialNaming",
            parameters, ActivationSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 4
Source File: ActivationSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE cannotReadRepositoryDb( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( CANNOT_READ_REPOSITORY_DB, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ACTIVATION.cannotReadRepositoryDb",
            parameters, ActivationSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 5
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE bootstrapError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( BOOTSTRAP_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.bootstrapError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 6
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE orbdError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( ORBD_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.orbdError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 7
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE persistentServerportNotSet( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERPORT_NOT_SET, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.persistentServerportNotSet",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 8
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE persistentServeridNotSet( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERID_NOT_SET, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.persistentServeridNotSet",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 9
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE jtsInitError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( JTS_INIT_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.jtsInitError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 10
Source File: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public INITIALIZE transNsCannotCreateInitialNc( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNc",
            parameters, NamingSystemException.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 INITIALIZE transNsCannotCreateInitialNcSys( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC_SYS, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNcSys",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 12
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE priorityRangeRestrict( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PRIORITY_RANGE_RESTRICT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.priorityRangeRestrict",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 13
Source File: ActivationSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE cannotAddInitialNaming( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( CANNOT_ADD_INITIAL_NAMING, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ACTIVATION.cannotAddInitialNaming",
            parameters, ActivationSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 14
Source File: ActivationSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE cannotReadRepositoryDb( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( CANNOT_READ_REPOSITORY_DB, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ACTIVATION.cannotReadRepositoryDb",
            parameters, ActivationSystemException.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 INITIALIZE bootstrapError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( BOOTSTRAP_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.bootstrapError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 16
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE orbdError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( ORBD_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.orbdError",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 17
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE persistentServerportNotSet( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERPORT_NOT_SET, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.persistentServerportNotSet",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 18
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE persistentServeridNotSet( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( PERSISTENT_SERVERID_NOT_SET, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.persistentServeridNotSet",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 19
Source File: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public INITIALIZE jtsInitError( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( JTS_INIT_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.jtsInitError",
            parameters, POASystemException.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 INITIALIZE transNsCannotCreateInitialNc( CompletionStatus cs, Throwable t ) {
    INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNc",
            parameters, NamingSystemException.class, exc ) ;
    }
    
    return exc ;
}