omgsystemexception.java

来自「JAVA 所有包」· Java 代码 · 共 1,866 行 · 第 1/5 页

JAVA
1,866
字号
    }
    
    public BAD_INV_ORDER xaStartOutsize(  ) {
        return xaStartOutsize( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int XA_START_PROTO = OMGVMCID.value + 20 ;
    
    public BAD_INV_ORDER xaStartProto( CompletionStatus cs, Throwable t ) {
        BAD_INV_ORDER exc = new BAD_INV_ORDER( XA_START_PROTO, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.xaStartProto",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_INV_ORDER xaStartProto( CompletionStatus cs ) {
        return xaStartProto( cs, null  ) ;
    }
    
    public BAD_INV_ORDER xaStartProto( Throwable t ) {
        return xaStartProto( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_INV_ORDER xaStartProto(  ) {
        return xaStartProto( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    ///////////////////////////////////////////////////////////
    // BAD_OPERATION
    ///////////////////////////////////////////////////////////
    
    public static final int BAD_SERVANT_MANAGER_TYPE = OMGVMCID.value + 1 ;
    
    public BAD_OPERATION badServantManagerType( CompletionStatus cs, Throwable t ) {
        BAD_OPERATION exc = new BAD_OPERATION( BAD_SERVANT_MANAGER_TYPE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.badServantManagerType",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_OPERATION badServantManagerType( CompletionStatus cs ) {
        return badServantManagerType( cs, null  ) ;
    }
    
    public BAD_OPERATION badServantManagerType( Throwable t ) {
        return badServantManagerType( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_OPERATION badServantManagerType(  ) {
        return badServantManagerType( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int OPERATION_UNKNOWN_TO_TARGET = OMGVMCID.value + 2 ;
    
    public BAD_OPERATION operationUnknownToTarget( CompletionStatus cs, Throwable t ) {
        BAD_OPERATION exc = new BAD_OPERATION( OPERATION_UNKNOWN_TO_TARGET, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.operationUnknownToTarget",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_OPERATION operationUnknownToTarget( CompletionStatus cs ) {
        return operationUnknownToTarget( cs, null  ) ;
    }
    
    public BAD_OPERATION operationUnknownToTarget( Throwable t ) {
        return operationUnknownToTarget( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_OPERATION operationUnknownToTarget(  ) {
        return operationUnknownToTarget( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    ///////////////////////////////////////////////////////////
    // BAD_PARAM
    ///////////////////////////////////////////////////////////
    
    public static final int UNABLE_REGISTER_VALUE_FACTORY = OMGVMCID.value + 1 ;
    
    public BAD_PARAM unableRegisterValueFactory( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( UNABLE_REGISTER_VALUE_FACTORY, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.unableRegisterValueFactory",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM unableRegisterValueFactory( CompletionStatus cs ) {
        return unableRegisterValueFactory( cs, null  ) ;
    }
    
    public BAD_PARAM unableRegisterValueFactory( Throwable t ) {
        return unableRegisterValueFactory( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM unableRegisterValueFactory(  ) {
        return unableRegisterValueFactory( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int RID_ALREADY_DEFINED = OMGVMCID.value + 2 ;
    
    public BAD_PARAM ridAlreadyDefined( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( RID_ALREADY_DEFINED, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.ridAlreadyDefined",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM ridAlreadyDefined( CompletionStatus cs ) {
        return ridAlreadyDefined( cs, null  ) ;
    }
    
    public BAD_PARAM ridAlreadyDefined( Throwable t ) {
        return ridAlreadyDefined( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM ridAlreadyDefined(  ) {
        return ridAlreadyDefined( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAME_USED_IFR = OMGVMCID.value + 3 ;
    
    public BAD_PARAM nameUsedIfr( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( NAME_USED_IFR, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.nameUsedIfr",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM nameUsedIfr( CompletionStatus cs ) {
        return nameUsedIfr( cs, null  ) ;
    }
    
    public BAD_PARAM nameUsedIfr( Throwable t ) {
        return nameUsedIfr( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM nameUsedIfr(  ) {
        return nameUsedIfr( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TARGET_NOT_CONTAINER = OMGVMCID.value + 4 ;
    
    public BAD_PARAM targetNotContainer( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( TARGET_NOT_CONTAINER, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.targetNotContainer",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM targetNotContainer( CompletionStatus cs ) {
        return targetNotContainer( cs, null  ) ;
    }
    
    public BAD_PARAM targetNotContainer( Throwable t ) {
        return targetNotContainer( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM targetNotContainer(  ) {
        return targetNotContainer( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAME_CLASH = OMGVMCID.value + 5 ;
    
    public BAD_PARAM nameClash( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( NAME_CLASH, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.nameClash",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM nameClash( CompletionStatus cs ) {
        return nameClash( cs, null  ) ;
    }
    
    public BAD_PARAM nameClash( Throwable t ) {
        return nameClash( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM nameClash(  ) {
        return nameClash( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NOT_SERIALIZABLE = OMGVMCID.value + 6 ;
    
    public BAD_PARAM notSerializable( CompletionStatus cs, Throwable t, Object arg0) {
        BAD_PARAM exc = new BAD_PARAM( NOT_SERIALIZABLE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[1] ;
            parameters[0] = arg0 ;
            doLog( Level.WARNING, "OMG.notSerializable",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM notSerializable( CompletionStatus cs, Object arg0) {
        return notSerializable( cs, null, arg0 ) ;
    }
    
    public BAD_PARAM notSerializable( Throwable t, Object arg0) {
        return notSerializable( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
    }
    
    public BAD_PARAM notSerializable(  Object arg0) {
        return notSerializable( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
    }
    
    public static final int SO_BAD_SCHEME_NAME = OMGVMCID.value + 7 ;
    
    public BAD_PARAM soBadSchemeName( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( SO_BAD_SCHEME_NAME, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.soBadSchemeName",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM soBadSchemeName( CompletionStatus cs ) {
        return soBadSchemeName( cs, null  ) ;
    }
    
    public BAD_PARAM soBadSchemeName( Throwable t ) {
        return soBadSchemeName( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM soBadSchemeName(  ) {
        return soBadSchemeName( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int SO_BAD_ADDRESS = OMGVMCID.value + 8 ;
    
    public BAD_PARAM soBadAddress( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( SO_BAD_ADDRESS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.soBadAddress",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM soBadAddress( CompletionStatus cs ) {
        return soBadAddress( cs, null  ) ;
    }
    
    public BAD_PARAM soBadAddress( Throwable t ) {
        return soBadAddress( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM soBadAddress(  ) {
        return soBadAddress( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int SO_BAD_SCHEMA_SPECIFIC = OMGVMCID.value + 9 ;
    
    public BAD_PARAM soBadSchemaSpecific( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( SO_BAD_SCHEMA_SPECIFIC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.soBadSchemaSpecific",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM soBadSchemaSpecific( CompletionStatus cs ) {
        return soBadSchemaSpecific( cs, null  ) ;
    }
    
    public BAD_PARAM soBadSchemaSpecific( Throwable t ) {
        return soBadSchemaSpecific( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM soBadSchemaSpecific(  ) {
        return soBadSchemaSpecific( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int SO_NON_SPECIFIC = OMGVMCID.value + 10 ;
    
    public BAD_PARAM soNonSpecific( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( SO_NON_SPECIFIC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.soNonSpecific",
                parameters, OMGSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM soNonSpecific( CompletionStatus cs ) {
        return soNonSpecific( cs, null  ) ;
    }
    
    public BAD_PARAM soNonSpecific( Throwable t ) {
        return soNonSpecific( CompletionStatus.COMPLETED_NO, t  ) ;
    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?