类org.omg.CORBA.UNKNOWN源码实例Demo

下面列出了怎么用org.omg.CORBA.UNKNOWN的API类实例代码及写法,或者点击链接到github查看源代码。

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 ;
}
 
源代码2 项目: JDKSourceCode1.8   文件: POASystemException.java
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 ;
}
 
源代码3 项目: JDKSourceCode1.8   文件: POASystemException.java
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 ;
}
 
源代码4 项目: JDKSourceCode1.8   文件: OMGSystemException.java
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 ;
}
 
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 ;
}
 
源代码6 项目: openjdk-jdk8u   文件: UEInfoServiceContext.java
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 ) ;
    }
}
 
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 ;
}
 
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 ;
}
 
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 ;
}
 
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 ;
}
 
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 ;
}
 
源代码12 项目: JDKSourceCode1.8   文件: OMGSystemException.java
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 ;
}
 
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 ;
}
 
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 ;
}
 
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 ;
}
 
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 ;
}
 
源代码17 项目: TencentKona-8   文件: UEInfoServiceContext.java
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 ) ;
    }
}
 
源代码18 项目: jdk8u60   文件: UEInfoServiceContext.java
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 ) ;
    }
}
 
源代码19 项目: JDKSourceCode1.8   文件: UEInfoServiceContext.java
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 ) ;
    }
}
 
源代码20 项目: JDKSourceCode1.8   文件: POASystemException.java
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 ;
}
 
源代码21 项目: JDKSourceCode1.8   文件: NamingSystemException.java
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 ;
}
 
源代码22 项目: JDKSourceCode1.8   文件: UtilSystemException.java
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 ;
}
 
源代码23 项目: JDKSourceCode1.8   文件: NamingSystemException.java
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 ;
}
 
源代码24 项目: JDKSourceCode1.8   文件: NamingSystemException.java
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 ;
}
 
源代码25 项目: JDKSourceCode1.8   文件: POASystemException.java
public UNKNOWN unknownLocalinvocationError(  ) {
    return unknownLocalinvocationError( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
public UNKNOWN bindUpdateContextFailed( CompletionStatus cs ) {
    return bindUpdateContextFailed( cs, null  ) ;
}
 
public UNKNOWN bindUpdateContextFailed( Throwable t ) {
    return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, t  ) ;
}
 
public UNKNOWN bindUpdateContextFailed(  ) {
    return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, null  ) ;
}
 
public UNKNOWN bindFailure( Throwable t ) {
    return bindFailure( CompletionStatus.COMPLETED_NO, t  ) ;
}
 
源代码30 项目: JDKSourceCode1.8   文件: OMGSystemException.java
public UNKNOWN unknownUserException( CompletionStatus cs ) {
    return unknownUserException( cs, null  ) ;
}
 
 类所在包
 类方法
 同包方法