📄 poasystemexception.java
字号:
// Log wrapper class for Sun private system exceptions in group POA
//
// 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/POA.mc on Mon Jul 21 01:27:39 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_INV_ORDER ;
import org.omg.CORBA.BAD_OPERATION ;
import org.omg.CORBA.BAD_PARAM ;
import org.omg.CORBA.INTERNAL ;
import org.omg.CORBA.NO_IMPLEMENT ;
import org.omg.CORBA.OBJ_ADAPTER ;
import org.omg.CORBA.INITIALIZE ;
import org.omg.CORBA.TRANSIENT ;
import org.omg.CORBA.UNKNOWN ;
import org.omg.CORBA.OBJECT_NOT_EXIST ;
public class POASystemException extends LogWrapperBase {
public POASystemException( Logger logger )
{
super( logger ) ;
}
private static LogWrapperFactory factory = new LogWrapperFactory() {
public LogWrapperBase create( Logger logger )
{
return new POASystemException( logger ) ;
}
} ;
public static POASystemException get( ORB orb, String logDomain )
{
POASystemException wrapper =
(POASystemException) orb.getLogWrapper( logDomain,
"POA", factory ) ;
return wrapper ;
}
public static POASystemException get( String logDomain )
{
POASystemException wrapper =
(POASystemException) ORB.staticGetLogWrapper( logDomain,
"POA", factory ) ;
return wrapper ;
}
///////////////////////////////////////////////////////////
// BAD_INV_ORDER
///////////////////////////////////////////////////////////
public static final int SERVANT_MANAGER_ALREADY_SET = SUNVMCID.value + 1001 ;
public BAD_INV_ORDER servantManagerAlreadySet( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( SERVANT_MANAGER_ALREADY_SET, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.servantManagerAlreadySet",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER servantManagerAlreadySet( CompletionStatus cs ) {
return servantManagerAlreadySet( cs, null ) ;
}
public BAD_INV_ORDER servantManagerAlreadySet( Throwable t ) {
return servantManagerAlreadySet( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER servantManagerAlreadySet( ) {
return servantManagerAlreadySet( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int DESTROY_DEADLOCK = SUNVMCID.value + 1002 ;
public BAD_INV_ORDER destroyDeadlock( CompletionStatus cs, Throwable t ) {
BAD_INV_ORDER exc = new BAD_INV_ORDER( DESTROY_DEADLOCK, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.destroyDeadlock",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_INV_ORDER destroyDeadlock( CompletionStatus cs ) {
return destroyDeadlock( cs, null ) ;
}
public BAD_INV_ORDER destroyDeadlock( Throwable t ) {
return destroyDeadlock( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_INV_ORDER destroyDeadlock( ) {
return destroyDeadlock( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// BAD_OPERATION
///////////////////////////////////////////////////////////
public static final int SERVANT_ORB = SUNVMCID.value + 1001 ;
public BAD_OPERATION servantOrb( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( SERVANT_ORB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.servantOrb",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION servantOrb( CompletionStatus cs ) {
return servantOrb( cs, null ) ;
}
public BAD_OPERATION servantOrb( Throwable t ) {
return servantOrb( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION servantOrb( ) {
return servantOrb( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_SERVANT = SUNVMCID.value + 1002 ;
public BAD_OPERATION badServant( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( BAD_SERVANT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.badServant",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION badServant( CompletionStatus cs ) {
return badServant( cs, null ) ;
}
public BAD_OPERATION badServant( Throwable t ) {
return badServant( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION badServant( ) {
return badServant( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int ILLEGAL_FORWARD_REQUEST = SUNVMCID.value + 1003 ;
public BAD_OPERATION illegalForwardRequest( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( ILLEGAL_FORWARD_REQUEST, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.illegalForwardRequest",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION illegalForwardRequest( CompletionStatus cs ) {
return illegalForwardRequest( cs, null ) ;
}
public BAD_OPERATION illegalForwardRequest( Throwable t ) {
return illegalForwardRequest( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION illegalForwardRequest( ) {
return illegalForwardRequest( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// BAD_PARAM
///////////////////////////////////////////////////////////
public static final int BAD_TRANSACTION_CONTEXT = SUNVMCID.value + 1001 ;
public BAD_PARAM badTransactionContext( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( BAD_TRANSACTION_CONTEXT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.badTransactionContext",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM badTransactionContext( CompletionStatus cs ) {
return badTransactionContext( cs, null ) ;
}
public BAD_PARAM badTransactionContext( Throwable t ) {
return badTransactionContext( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM badTransactionContext( ) {
return badTransactionContext( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_REPOSITORY_ID = SUNVMCID.value + 1002 ;
public BAD_PARAM badRepositoryId( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( BAD_REPOSITORY_ID, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.badRepositoryId",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM badRepositoryId( CompletionStatus cs ) {
return badRepositoryId( cs, null ) ;
}
public BAD_PARAM badRepositoryId( Throwable t ) {
return badRepositoryId( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM badRepositoryId( ) {
return badRepositoryId( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// INTERNAL
///////////////////////////////////////////////////////////
public static final int INVOKESETUP = SUNVMCID.value + 1001 ;
public INTERNAL invokesetup( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( INVOKESETUP, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.invokesetup",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL invokesetup( CompletionStatus cs ) {
return invokesetup( cs, null ) ;
}
public INTERNAL invokesetup( Throwable t ) {
return invokesetup( CompletionStatus.COMPLETED_NO, t ) ;
}
public INTERNAL invokesetup( ) {
return invokesetup( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int BAD_LOCALREPLYSTATUS = SUNVMCID.value + 1002 ;
public INTERNAL badLocalreplystatus( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( BAD_LOCALREPLYSTATUS, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.badLocalreplystatus",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL badLocalreplystatus( CompletionStatus cs ) {
return badLocalreplystatus( cs, null ) ;
}
public INTERNAL badLocalreplystatus( Throwable t ) {
return badLocalreplystatus( CompletionStatus.COMPLETED_NO, t ) ;
}
public INTERNAL badLocalreplystatus( ) {
return badLocalreplystatus( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int PERSISTENT_SERVERPORT_ERROR = SUNVMCID.value + 1003 ;
public INTERNAL persistentServerportError( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( PERSISTENT_SERVERPORT_ERROR, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.persistentServerportError",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL persistentServerportError( CompletionStatus cs ) {
return persistentServerportError( cs, null ) ;
}
public INTERNAL persistentServerportError( Throwable t ) {
return persistentServerportError( CompletionStatus.COMPLETED_NO, t ) ;
}
public INTERNAL persistentServerportError( ) {
return persistentServerportError( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int SERVANT_DISPATCH = SUNVMCID.value + 1004 ;
public INTERNAL servantDispatch( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( SERVANT_DISPATCH, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.servantDispatch",
parameters, POASystemException.class, exc ) ;
}
return exc ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -