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 Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 2
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 3
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 4
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 5
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
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 7
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 8
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 9
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 10
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 11
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 12
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 13
Source Project: JDKSourceCode1.8   File: UtilSystemException.java    License: 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 14
Source Project: JDKSourceCode1.8   File: UtilSystemException.java    License: 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 15
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 16
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 17
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 18
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 19
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 20
Source Project: JDKSourceCode1.8   File: OMGSystemException.java    License: 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 ;
}