org.omg.CORBA.UNKNOWN Java Examples

The following examples show how to use org.omg.CORBA.UNKNOWN. 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 JDKSourceCode1.8 with 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 #2
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 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 #3
Source File: NamingSystemException.java    From JDKSourceCode1.8 with 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 #4
Source File: OMGSystemException.java    From JDKSourceCode1.8 with 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
Source File: NamingSystemException.java    From JDKSourceCode1.8 with 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 #6
Source File: POASystemException.java    From JDKSourceCode1.8 with 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 #7
Source File: POASystemException.java    From JDKSourceCode1.8 with 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 #8
Source File: OMGSystemException.java    From jdk1.8-source-analysis with 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 #9
Source File: OMGSystemException.java    From jdk1.8-source-analysis with 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 #10
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
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 #11
Source File: UEInfoServiceContext.java    From openjdk-jdk8u with 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 #12
Source File: OMGSystemException.java    From jdk1.8-source-analysis with 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 #13
Source File: InterceptorsSystemException.java    From JDKSourceCode1.8 with 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 #14
Source File: UtilSystemException.java    From JDKSourceCode1.8 with 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 #15
Source File: OMGSystemException.java    From JDKSourceCode1.8 with 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 #16
Source File: POASystemException.java    From jdk1.8-source-analysis with 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 #17
Source File: POASystemException.java    From jdk1.8-source-analysis with 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 #18
Source File: UEInfoServiceContext.java    From JDKSourceCode1.8 with 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 #19
Source File: UEInfoServiceContext.java    From jdk8u60 with 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 #20
Source File: POASystemException.java    From jdk1.8-source-analysis with 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 #21
Source File: UEInfoServiceContext.java    From TencentKona-8 with 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 #22
Source File: POASystemException.java    From jdk1.8-source-analysis with 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 #23
Source File: NamingSystemException.java    From JDKSourceCode1.8 with 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 #24
Source File: NamingSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 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 File: OMGSystemException.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public UNKNOWN piUnknownUserException(  ) {
    return piUnknownUserException( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example #26
Source File: NamingSystemException.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public UNKNOWN unbindFailure(  ) {
    return unbindFailure( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example #27
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public UNKNOWN unknownUserException(  ) {
    return unknownUserException( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example #28
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public UNKNOWN unsupportedSystemException(  ) {
    return unsupportedSystemException( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
Example #29
Source File: POASystemException.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public UNKNOWN unknownLocalinvocationError( Throwable t ) {
    return unknownLocalinvocationError( CompletionStatus.COMPLETED_NO, t  ) ;
}
 
Example #30
Source File: OMGSystemException.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public UNKNOWN piUnknownUserException(  ) {
    return piUnknownUserException( CompletionStatus.COMPLETED_NO, null  ) ;
}