Java 类org.omg.CORBA.INTERNAL 实例源码

项目:OpenJSharp    文件:BufferManagerFactory.java   
public static BufferManagerRead newBufferManagerRead(
        int strategy, byte encodingVersion, ORB orb) {

    if (encodingVersion != Message.CDR_ENC_VERSION) {
        if (strategy != BufferManagerFactory.GROW) {
            ORBUtilSystemException wrapper =
                ORBUtilSystemException.get((ORB)orb,
                                           CORBALogDomains.RPC_ENCODING);
            throw wrapper.invalidBuffMgrStrategy("newBufferManagerRead");
        }
        return new BufferManagerReadGrow(orb);
    }
    switch (strategy) {
        case BufferManagerFactory.GROW:
            return new BufferManagerReadGrow(orb);
        case BufferManagerFactory.COLLECT:
            throw new INTERNAL("Collect strategy invalid for reading");
        case BufferManagerFactory.STREAM:
            return new BufferManagerReadStream(orb);
        default:
            throw new INTERNAL("Unknown buffer manager read strategy: "
                               + strategy);
    }
}
项目:OpenJSharp    文件:LegacyServerSocketManagerImpl.java   
public synchronized LegacyServerSocketEndPointInfo legacyGetEndpoint(
    String name)
{
    Iterator iterator = getAcceptorIterator();
    while (iterator.hasNext()) {
        LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
        if (endPoint != null && name.equals(endPoint.getName())) {
            return endPoint;
        }
    }
    throw new INTERNAL("No acceptor for: " + name);
}
项目:OpenJSharp    文件:NamingSystemException.java   
public INTERNAL namingCtxRebindctxAlreadyBound( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( NAMING_CTX_REBINDCTX_ALREADY_BOUND, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.namingCtxRebindctxAlreadyBound",
            parameters, NamingSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:NamingSystemException.java   
public INTERNAL transNcDestroyGotExc( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( TRANS_NC_DESTROY_GOT_EXC, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "NAMING.transNcDestroyGotExc",
            parameters, NamingSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL wcharArrayUnsupportedEncoding( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( WCHAR_ARRAY_UNSUPPORTED_ENCODING, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.wcharArrayUnsupportedEncoding",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:IORSystemException.java   
public INTERNAL ortNotInitialized( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( ORT_NOT_INITIALIZED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "IOR.ortNotInitialized",
            parameters, IORSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:InterceptorsSystemException.java   
public INTERNAL servantInvalid( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( SERVANT_INVALID, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "INTERCEPTORS.servantInvalid",
            parameters, InterceptorsSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL duplicateOrbVersionServiceContext( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( DUPLICATE_ORB_VERSION_SERVICE_CONTEXT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.duplicateOrbVersionServiceContext",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL giopMagicError( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( GIOP_MAGIC_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.giopMagicError",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:POASystemException.java   
public INTERNAL pmfCreateRetain( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( PMF_CREATE_RETAIN, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.pmfCreateRetain",
            parameters, POASystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL badHelperWriteMethod( CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL( BAD_HELPER_WRITE_METHOD, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "ORBUTIL.badHelperWriteMethod",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL cancelNotSupported( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( CANCEL_NOT_SUPPORTED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.cancelNotSupported",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL invalidJdk131PatchLevel( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( INVALID_JDK1_3_1_PATCH_LEVEL, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.invalidJdk131PatchLevel",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL workQueueThreadInterrupted( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
    INTERNAL exc = new INTERNAL( WORK_QUEUE_THREAD_INTERRUPTED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.FINE )) {
        Object[] parameters = new Object[2] ;
        parameters[0] = arg0 ;
        parameters[1] = arg1 ;
        doLog( Level.FINE, "ORBUTIL.workQueueThreadInterrupted",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL serverScTempSize( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( SERVER_SC_TEMP_SIZE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.serverScTempSize",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL noInvocationHandler( CompletionStatus cs, Throwable t, Object arg0) {
    INTERNAL exc = new INTERNAL( NO_INVOCATION_HANDLER, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "ORBUTIL.noInvocationHandler",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:openjdk-jdk10    文件:StateEngineImpl.java   
public StateEngineImpl()
{
    initializing = true ;
    defaultAction = new ActionBase("Invalid Transition")
        {
            public void doIt( FSM fsm, Input in )
            {
                throw new INTERNAL(
                    "Invalid transition attempted from " +
                        fsm.getState() + " under " + in ) ;
            }
        } ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL invalidCodeSetNumber( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( INVALID_CODE_SET_NUMBER, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.invalidCodeSetNumber",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL serverScNoIiopProfile( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( SERVER_SC_NO_IIOP_PROFILE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.serverScNoIiopProfile",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL illegalTargetAddressDisposition( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( ILLEGAL_TARGET_ADDRESS_DISPOSITION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.illegalTargetAddressDisposition",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:InterceptorsSystemException.java   
public INTERNAL sortSizeMismatch( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( SORT_SIZE_MISMATCH, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "INTERCEPTORS.sortSizeMismatch",
            parameters, InterceptorsSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:POASystemException.java   
public INTERNAL duplicateOrbVersionSc( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( DUPLICATE_ORB_VERSION_SC, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.duplicateOrbVersionSc",
            parameters, POASystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL threadPoolCloseError( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( THREAD_POOL_CLOSE_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.threadPoolCloseError",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL stringifyWriteError( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( STRINGIFY_WRITE_ERROR, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.stringifyWriteError",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:openjdk-jdk10    文件:LegacyServerSocketManagerImpl.java   
public synchronized LegacyServerSocketEndPointInfo legacyGetEndpoint(
    String name)
{
    Iterator iterator = getAcceptorIterator();
    while (iterator.hasNext()) {
        LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
        if (endPoint != null && name.equals(endPoint.getName())) {
            return endPoint;
        }
    }
    throw new INTERNAL("No acceptor for: " + name);
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL emptyStackRunServantPostInvoke( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( EMPTY_STACK_RUN_SERVANT_POST_INVOKE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.emptyStackRunServantPostInvoke",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL statementNotReachable3( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( STATEMENT_NOT_REACHABLE3, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.statementNotReachable3",
            parameters, ORBUtilSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:InterceptorsSystemException.java   
public INTERNAL exceptionInExceptions( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( EXCEPTION_IN_EXCEPTIONS, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "INTERCEPTORS.exceptionInExceptions",
            parameters, InterceptorsSystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:POASystemException.java   
public INTERNAL cantCloneTemplate( CompletionStatus cs, Throwable t ) {
    INTERNAL exc = new INTERNAL( CANT_CLONE_TEMPLATE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;

    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "POA.cantCloneTemplate",
            parameters, POASystemException.class, exc ) ;
    }

    return exc ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL badCompletionStatusInReply( CompletionStatus cs, Object arg0) {
    return badCompletionStatusInReply( cs, null, arg0 ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL threadPoolCloseError( CompletionStatus cs ) {
    return threadPoolCloseError( cs, null  ) ;
}
项目:OpenJSharp    文件:UtilSystemException.java   
public INTERNAL errorSetCharField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
    return errorSetCharField( cs, null, arg0, arg1, arg2 ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL orbTargetAddrPreferenceInExtractObjectkeyInvalid( CompletionStatus cs ) {
    return orbTargetAddrPreferenceInExtractObjectkeyInvalid( cs, null  ) ;
}
项目:OpenJSharp    文件:ActivationSystemException.java   
public INTERNAL cannotWriteRepositoryDb(  ) {
    return cannotWriteRepositoryDb( CompletionStatus.COMPLETED_NO, null  ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL unexpectedNonDirectByteBufferWithChannelSocket(  ) {
    return unexpectedNonDirectByteBufferWithChannelSocket( CompletionStatus.COMPLETED_NO, null  ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL errorResolvingAlias(  ) {
    return errorResolvingAlias( CompletionStatus.COMPLETED_NO, null  ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL workQueueThreadInterrupted( Throwable t, Object arg0, Object arg1) {
    return workQueueThreadInterrupted( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
}
项目:OpenJSharp    文件:InterceptorsSystemException.java   
public INTERNAL sortSizeMismatch(  ) {
    return sortSizeMismatch( CompletionStatus.COMPLETED_NO, null  ) ;
}
项目:OpenJSharp    文件:ORBUtilSystemException.java   
public INTERNAL wcharArrayUnsupportedEncoding( Throwable t ) {
    return wcharArrayUnsupportedEncoding( CompletionStatus.COMPLETED_NO, t  ) ;
}
项目:OpenJSharp    文件:POASystemException.java   
public INTERNAL servantMustBeLocal(  ) {
    return servantMustBeLocal( CompletionStatus.COMPLETED_NO, null  ) ;
}