Java Code Examples for org.omg.CORBA.UNKNOWN

The following examples show how to use org.omg.CORBA.UNKNOWN. These examples are extracted from open source projects. 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 want to check out the right sidebar which shows the related API usage.
Example 1
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 2
Source Project: JDKSourceCode1.8   Source File: POASystemException.java    License: MIT License 5 votes vote down vote up
public UNKNOWN unknownServerappException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVERAPP_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownServerappException",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 3
Source Project: JDKSourceCode1.8   Source File: POASystemException.java    License: 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 Project: JDKSourceCode1.8   Source File: OMGSystemException.java    License: MIT License 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 5
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 6
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
    super(is, gv) ;

    try {
        unknown = (Throwable) in.read_value() ;
    } catch (ThreadDeath d) {
        throw d ;
    } catch (Throwable e) {
        unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
    }
}
 
Example 7
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 8
Source Project: JDKSourceCode1.8   Source File: InterceptorsSystemException.java    License: 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 9
Source Project: jdk1.8-source-analysis   Source File: POASystemException.java    License: Apache License 2.0 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 10
Source Project: jdk1.8-source-analysis   Source File: POASystemException.java    License: 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 11
Source Project: jdk1.8-source-analysis   Source File: POASystemException.java    License: Apache License 2.0 5 votes vote down vote up
public UNKNOWN unknownServerappException( CompletionStatus cs, Throwable t ) {
    UNKNOWN exc = new UNKNOWN( UNKNOWN_SERVERAPP_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.unknownServerappException",
            parameters, POASystemException.class, exc ) ;
    }
    
    return exc ;
}
 
Example 12
Source Project: JDKSourceCode1.8   Source File: OMGSystemException.java    License: 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 13
Source Project: jdk1.8-source-analysis   Source File: POASystemException.java    License: 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 Project: jdk1.8-source-analysis   Source File: OMGSystemException.java    License: Apache License 2.0 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 15
Source Project: jdk1.8-source-analysis   Source File: OMGSystemException.java    License: 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 16
Source Project: jdk1.8-source-analysis   Source File: OMGSystemException.java    License: Apache License 2.0 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
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
    super(is, gv) ;

    try {
        unknown = (Throwable) in.read_value() ;
    } catch (ThreadDeath d) {
        throw d ;
    } catch (Throwable e) {
        unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
    }
}
 
Example 18
Source Project: jdk8u60   Source File: UEInfoServiceContext.java    License: GNU General Public License v2.0 5 votes vote down vote up
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
    super(is, gv) ;

    try {
        unknown = (Throwable) in.read_value() ;
    } catch (ThreadDeath d) {
        throw d ;
    } catch (Throwable e) {
        unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
    }
}
 
Example 19
Source Project: JDKSourceCode1.8   Source File: UEInfoServiceContext.java    License: MIT License 5 votes vote down vote up
public UEInfoServiceContext(InputStream is, GIOPVersion gv)
{
    super(is, gv) ;

    try {
        unknown = (Throwable) in.read_value() ;
    } catch (ThreadDeath d) {
        throw d ;
    } catch (Throwable e) {
        unknown = new UNKNOWN( 0, CompletionStatus.COMPLETED_MAYBE ) ;
    }
}
 
Example 20
Source Project: JDKSourceCode1.8   Source File: POASystemException.java    License: 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 21
Source Project: JDKSourceCode1.8   Source File: NamingSystemException.java    License: MIT License 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 22
Source Project: JDKSourceCode1.8   Source File: UtilSystemException.java    License: 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 23
Source Project: JDKSourceCode1.8   Source File: NamingSystemException.java    License: 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 24
Source Project: JDKSourceCode1.8   Source File: NamingSystemException.java    License: MIT License 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 25
Source Project: JDKSourceCode1.8   Source File: POASystemException.java    License: MIT License 4 votes vote down vote up
public UNKNOWN unknownLocalinvocationError(  ) {
    return unknownLocalinvocationError( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example 26
public UNKNOWN bindUpdateContextFailed( CompletionStatus cs ) {
    return bindUpdateContextFailed( cs, null  ) ;
}
 
Example 27
public UNKNOWN bindUpdateContextFailed( Throwable t ) {
    return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, t  ) ;
}
 
Example 28
public UNKNOWN bindUpdateContextFailed(  ) {
    return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example 29
public UNKNOWN bindFailure( Throwable t ) {
    return bindFailure( CompletionStatus.COMPLETED_NO, t  ) ;
}
 
Example 30
Source Project: JDKSourceCode1.8   Source File: OMGSystemException.java    License: MIT License 4 votes vote down vote up
public UNKNOWN unknownUserException( CompletionStatus cs ) {
    return unknownUserException( cs, null  ) ;
}