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

The following examples show how to use org.omg.CORBA.TRANSIENT#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: POASystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TRANSIENT poaDiscarding( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_DISCARDING, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "POA.poaDiscarding",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 2
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TRANSIENT poaRequestDiscard( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_REQUEST_DISCARD, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.poaRequestDiscard",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 3
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TRANSIENT noUsableProfile3( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( NO_USABLE_PROFILE_3, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.noUsableProfile3",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 4
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TRANSIENT requestCancelled( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( REQUEST_CANCELLED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.requestCancelled",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 5
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TRANSIENT poaDestroyed( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_DESTROYED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.poaDestroyed",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 6
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TRANSIENT poaDiscarding( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_DISCARDING, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "POA.poaDiscarding",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 7
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TRANSIENT poaRequestDiscard( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_REQUEST_DISCARD, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.poaRequestDiscard",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 8
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TRANSIENT noUsableProfile3( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( NO_USABLE_PROFILE_3, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.noUsableProfile3",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 9
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TRANSIENT requestCancelled( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( REQUEST_CANCELLED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.requestCancelled",
            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 TRANSIENT poaDestroyed( CompletionStatus cs, Throwable t ) {
    TRANSIENT exc = new TRANSIENT( POA_DESTROYED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.poaDestroyed",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}