📄 omgsystemexception.java
字号:
// Log wrapper class for standard exceptions
//
// Generated by mc.scm version 1.3, DO NOT EDIT BY HAND!
// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/OMG.mc on Mon Jul 21 01:27:37 GMT-08:00 2008
package com.sun.corba.se.impl.logging ;
import java.util.logging.Logger ;
import java.util.logging.Level ;
import org.omg.CORBA.OMGVMCID ;
import com.sun.corba.se.impl.util.SUNVMCID ;
import org.omg.CORBA.CompletionStatus ;
import org.omg.CORBA.SystemException ;
import com.sun.corba.se.spi.orb.ORB ;
import com.sun.corba.se.spi.logging.LogWrapperFactory;
import com.sun.corba.se.spi.logging.LogWrapperBase;
import org.omg.CORBA.BAD_CONTEXT ;
import org.omg.CORBA.BAD_INV_ORDER ;
import org.omg.CORBA.BAD_OPERATION ;
import org.omg.CORBA.BAD_PARAM ;
import org.omg.CORBA.BAD_TYPECODE ;
import org.omg.CORBA.DATA_CONVERSION ;
import org.omg.CORBA.IMP_LIMIT ;
import org.omg.CORBA.INITIALIZE ;
import org.omg.CORBA.INV_OBJREF ;
import org.omg.CORBA.INV_POLICY ;
import org.omg.CORBA.INTERNAL ;
import org.omg.CORBA.INTF_REPOS ;
import org.omg.CORBA.MARSHAL ;
import org.omg.CORBA.NO_IMPLEMENT ;
import org.omg.CORBA.NO_RESOURCES ;
import org.omg.CORBA.TRANSACTION_ROLLEDBACK ;
import org.omg.CORBA.TRANSIENT ;
import org.omg.CORBA.OBJECT_NOT_EXIST ;
import org.omg.CORBA.OBJ_ADAPTER ;
import org.omg.CORBA.UNKNOWN ;
public class OMGSystemException extends LogWrapperBase {
public OMGSystemException( Logger logger )
{
super( logger ) ;
}
private static LogWrapperFactory factory = new LogWrapperFactory() {
public LogWrapperBase create( Logger logger )
{
return new OMGSystemException( logger ) ;
}
} ;
public static OMGSystemException get( ORB orb, String logDomain )
{
OMGSystemException wrapper =
(OMGSystemException) orb.getLogWrapper( logDomain,
"OMG", factory ) ;
return wrapper ;
}
public static OMGSystemException get( String logDomain )
{
OMGSystemException wrapper =
(OMGSystemException) ORB.staticGetLogWrapper( logDomain,
"OMG", factory ) ;
return wrapper ;
}
///////////////////////////////////////////////////////////
// BAD_CONTEXT
///////////////////////////////////////////////////////////
public static final int IDL_CONTEXT_NOT_FOUND = OMGVMCID.value + 1 ;
public BAD_CONTEXT idlContextNotFound( CompletionStatus cs, Throwable t ) {
BAD_CONTEXT exc = new BAD_CONTEXT( IDL_CONTEXT_NOT_FOUND, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.idlContextNotFound",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_CONTEXT idlContextNotFound( CompletionStatus cs ) {
return idlContextNotFound( cs, null ) ;
}
public BAD_CONTEXT idlContextNotFound( Throwable t ) {
return idlContextNotFound( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_CONTEXT idlContextNotFound( ) {
return idlContextNotFound( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int NO_MATCHING_IDL_CONTEXT = OMGVMCID.value + 2 ;
public BAD_CONTEXT noMatchingIdlContext( CompletionStatus cs, Throwable t ) {
BAD_CONTEXT exc = new BAD_CONTEXT( NO_MATCHING_IDL_CONTEXT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.noMatchingIdlContext",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_CONTEXT noMatchingIdlContext( CompletionStatus cs ) {
return noMatchingIdlContext( cs, null ) ;
}
public BAD_CONTEXT noMatchingIdlContext( Throwable t ) {
return noMatchingIdlContext( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_CONTEXT noMatchingIdlContext( ) {
return noMatchingIdlContext( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// BAD_INV_ORDER
///////////////////////////////////////////////////////////
public static final int DEP_PREVENT_DESTRUCTION = OMGVMCID.value + 1 ;
public BAD_INV_ORDER depPreventDestruction( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( DEP_PREVENT_DESTRUCTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.depPreventDestruction",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER depPreventDestruction( CompletionStatus cs ) {
return depPreventDestruction( cs, null ) ;
}
public BAD_INV_ORDER depPreventDestruction( Throwable t ) {
return depPreventDestruction( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER depPreventDestruction( ) {
return depPreventDestruction( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int DESTROY_INDESTRUCTIBLE = OMGVMCID.value + 2 ;
public BAD_INV_ORDER destroyIndestructible( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( DESTROY_INDESTRUCTIBLE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.destroyIndestructible",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER destroyIndestructible( CompletionStatus cs ) {
return destroyIndestructible( cs, null ) ;
}
public BAD_INV_ORDER destroyIndestructible( Throwable t ) {
return destroyIndestructible( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER destroyIndestructible( ) {
return destroyIndestructible( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int SHUTDOWN_WAIT_FOR_COMPLETION_DEADLOCK = OMGVMCID.value + 3 ;
public BAD_INV_ORDER shutdownWaitForCompletionDeadlock( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( SHUTDOWN_WAIT_FOR_COMPLETION_DEADLOCK, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.shutdownWaitForCompletionDeadlock",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER shutdownWaitForCompletionDeadlock( CompletionStatus cs ) {
return shutdownWaitForCompletionDeadlock( cs, null ) ;
}
public BAD_INV_ORDER shutdownWaitForCompletionDeadlock( Throwable t ) {
return shutdownWaitForCompletionDeadlock( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER shutdownWaitForCompletionDeadlock( ) {
return shutdownWaitForCompletionDeadlock( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_OPERATION_AFTER_SHUTDOWN = OMGVMCID.value + 4 ;
public BAD_INV_ORDER badOperationAfterShutdown( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_OPERATION_AFTER_SHUTDOWN, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badOperationAfterShutdown",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER badOperationAfterShutdown( CompletionStatus cs ) {
return badOperationAfterShutdown( cs, null ) ;
}
public BAD_INV_ORDER badOperationAfterShutdown( Throwable t ) {
return badOperationAfterShutdown( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER badOperationAfterShutdown( ) {
return badOperationAfterShutdown( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_INVOKE = OMGVMCID.value + 5 ;
public BAD_INV_ORDER badInvoke( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_INVOKE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badInvoke",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER badInvoke( CompletionStatus cs ) {
return badInvoke( cs, null ) ;
}
public BAD_INV_ORDER badInvoke( Throwable t ) {
return badInvoke( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER badInvoke( ) {
return badInvoke( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_SET_SERVANT_MANAGER = OMGVMCID.value + 6 ;
public BAD_INV_ORDER badSetServantManager( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_SET_SERVANT_MANAGER, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badSetServantManager",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER badSetServantManager( CompletionStatus cs ) {
return badSetServantManager( cs, null ) ;
}
public BAD_INV_ORDER badSetServantManager( Throwable t ) {
return badSetServantManager( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER badSetServantManager( ) {
return badSetServantManager( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_ARGUMENTS_CALL = OMGVMCID.value + 7 ;
public BAD_INV_ORDER badArgumentsCall( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_ARGUMENTS_CALL, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badArgumentsCall",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER badArgumentsCall( CompletionStatus cs ) {
return badArgumentsCall( cs, null ) ;
}
public BAD_INV_ORDER badArgumentsCall( Throwable t ) {
return badArgumentsCall( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER badArgumentsCall( ) {
return badArgumentsCall( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_CTX_CALL = OMGVMCID.value + 8 ;
public BAD_INV_ORDER badCtxCall( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_CTX_CALL, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badCtxCall",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER badCtxCall( CompletionStatus cs ) {
return badCtxCall( cs, null ) ;
}
public BAD_INV_ORDER badCtxCall( Throwable t ) {
return badCtxCall( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER badCtxCall( ) {
return badCtxCall( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_RESULT_CALL = OMGVMCID.value + 9 ;
public BAD_INV_ORDER badResultCall( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( BAD_RESULT_CALL, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "OMG.badResultCall",
parameters, OMGSystemException.class, exc ) ;
}
return exc ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -