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

The following examples show how to use org.omg.CORBA.MARSHAL#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: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL unsupportedFormatVersion( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNSUPPORTED_FORMAT_VERSION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.unsupportedFormatVersion",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 2
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL wcharBadGiopVersionReturned( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_RETURNED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionReturned",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 3
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL wcharBadGiopVersionSent( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_SENT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionSent",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 4
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL notAnObjectImpl( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( NOT_AN_OBJECT_IMPL, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.notAnObjectImpl",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 5
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL badNvlist( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( BAD_NVLIST, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.badNvlist",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 6
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL setResultBeforeCtx( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( SET_RESULT_BEFORE_CTX, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.setResultBeforeCtx",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 7
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL unableLocateValueFactory( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNABLE_LOCATE_VALUE_FACTORY, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "OMG.unableLocateValueFactory",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 8
Source File: UtilSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL invalidIndirection( CompletionStatus cs, Throwable t, Object arg0) {
    MARSHAL exc = new MARSHAL( INVALID_INDIRECTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "UTIL.invalidIndirection",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 9
Source File: UtilSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL unableLocateValueHelper( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNABLE_LOCATE_VALUE_HELPER, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "UTIL.unableLocateValueHelper",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 10
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL rmiiiopOptionalDataIncompatible3( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( RMIIIOP_OPTIONAL_DATA_INCOMPATIBLE3, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "OMG.rmiiiopOptionalDataIncompatible3",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 11
Source File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public MARSHAL rmiiiopOptionalDataIncompatible2( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( RMIIIOP_OPTIONAL_DATA_INCOMPATIBLE2, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.rmiiiopOptionalDataIncompatible2",
            parameters, OMGSystemException.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 MARSHAL rmiiiopOptionalDataIncompatible1( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( RMIIIOP_OPTIONAL_DATA_INCOMPATIBLE1, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.rmiiiopOptionalDataIncompatible1",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 13
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL unsupportedFormatVersion( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNSUPPORTED_FORMAT_VERSION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.unsupportedFormatVersion",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 14
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL wcharBadGiopVersionReturned( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_RETURNED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionReturned",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 15
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL wcharBadGiopVersionSent( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_SENT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionSent",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 16
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL notAnObjectImpl( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( NOT_AN_OBJECT_IMPL, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.notAnObjectImpl",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 17
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL badNvlist( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( BAD_NVLIST, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.badNvlist",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 18
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL setResultBeforeCtx( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( SET_RESULT_BEFORE_CTX, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.setResultBeforeCtx",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 19
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL unableLocateValueFactory( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNABLE_LOCATE_VALUE_FACTORY, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = null ;
        doLog( Level.FINE, "OMG.unableLocateValueFactory",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 20
Source File: UtilSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public MARSHAL invalidIndirection( CompletionStatus cs, Throwable t, Object arg0) {
    MARSHAL exc = new MARSHAL( INVALID_INDIRECTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "UTIL.invalidIndirection",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}