📄 utilsystemexception.java
字号:
// Log wrapper class for Sun private system exceptions in group UTIL
//
// 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/Util.mc on Mon Jul 21 01:27:40 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_OPERATION ;
import org.omg.CORBA.BAD_PARAM ;
import org.omg.CORBA.DATA_CONVERSION ;
import org.omg.CORBA.MARSHAL ;
import org.omg.CORBA.INV_OBJREF ;
import org.omg.CORBA.INTERNAL ;
import org.omg.CORBA.UNKNOWN ;
public class UtilSystemException extends LogWrapperBase {
public UtilSystemException( Logger logger )
{
super( logger ) ;
}
private static LogWrapperFactory factory = new LogWrapperFactory() {
public LogWrapperBase create( Logger logger )
{
return new UtilSystemException( logger ) ;
}
} ;
public static UtilSystemException get( ORB orb, String logDomain )
{
UtilSystemException wrapper =
(UtilSystemException) orb.getLogWrapper( logDomain,
"UTIL", factory ) ;
return wrapper ;
}
public static UtilSystemException get( String logDomain )
{
UtilSystemException wrapper =
(UtilSystemException) ORB.staticGetLogWrapper( logDomain,
"UTIL", factory ) ;
return wrapper ;
}
///////////////////////////////////////////////////////////
// BAD_OPERATION
///////////////////////////////////////////////////////////
public static final int STUB_FACTORY_COULD_NOT_MAKE_STUB = SUNVMCID.value + 1401 ;
public BAD_OPERATION stubFactoryCouldNotMakeStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( STUB_FACTORY_COULD_NOT_MAKE_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.stubFactoryCouldNotMakeStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( CompletionStatus cs ) {
return stubFactoryCouldNotMakeStub( cs, null ) ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( Throwable t ) {
return stubFactoryCouldNotMakeStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( ) {
return stubFactoryCouldNotMakeStub( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID = SUNVMCID.value + 1402 ;
public BAD_OPERATION errorInMakeStubFromRepositoryId( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.errorInMakeStubFromRepositoryId",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( CompletionStatus cs ) {
return errorInMakeStubFromRepositoryId( cs, null ) ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( Throwable t ) {
return errorInMakeStubFromRepositoryId( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( ) {
return errorInMakeStubFromRepositoryId( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CLASS_CAST_EXCEPTION_IN_LOAD_STUB = SUNVMCID.value + 1403 ;
public BAD_OPERATION classCastExceptionInLoadStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( CLASS_CAST_EXCEPTION_IN_LOAD_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.classCastExceptionInLoadStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION classCastExceptionInLoadStub( CompletionStatus cs ) {
return classCastExceptionInLoadStub( cs, null ) ;
}
public BAD_OPERATION classCastExceptionInLoadStub( Throwable t ) {
return classCastExceptionInLoadStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION classCastExceptionInLoadStub( ) {
return classCastExceptionInLoadStub( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int EXCEPTION_IN_LOAD_STUB = SUNVMCID.value + 1404 ;
public BAD_OPERATION exceptionInLoadStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( EXCEPTION_IN_LOAD_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.exceptionInLoadStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION exceptionInLoadStub( CompletionStatus cs ) {
return exceptionInLoadStub( cs, null ) ;
}
public BAD_OPERATION exceptionInLoadStub( Throwable t ) {
return exceptionInLoadStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION exceptionInLoadStub( ) {
return exceptionInLoadStub( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// BAD_PARAM
///////////////////////////////////////////////////////////
public static final int NO_POA = SUNVMCID.value + 1402 ;
public BAD_PARAM noPoa( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( NO_POA, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.noPoa",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM noPoa( CompletionStatus cs ) {
return noPoa( cs, null ) ;
}
public BAD_PARAM noPoa( Throwable t ) {
return noPoa( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM noPoa( ) {
return noPoa( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_WRONG_ORB = SUNVMCID.value + 1403 ;
public BAD_PARAM connectWrongOrb( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_WRONG_ORB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.connectWrongOrb",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectWrongOrb( CompletionStatus cs ) {
return connectWrongOrb( cs, null ) ;
}
public BAD_PARAM connectWrongOrb( Throwable t ) {
return connectWrongOrb( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectWrongOrb( ) {
return connectWrongOrb( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_NO_TIE = SUNVMCID.value + 1404 ;
public BAD_PARAM connectNoTie( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_NO_TIE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectNoTie",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectNoTie( CompletionStatus cs ) {
return connectNoTie( cs, null ) ;
}
public BAD_PARAM connectNoTie( Throwable t ) {
return connectNoTie( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectNoTie( ) {
return connectNoTie( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_TIE_WRONG_ORB = SUNVMCID.value + 1405 ;
public BAD_PARAM connectTieWrongOrb( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_TIE_WRONG_ORB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectTieWrongOrb",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectTieWrongOrb( CompletionStatus cs ) {
return connectTieWrongOrb( cs, null ) ;
}
public BAD_PARAM connectTieWrongOrb( Throwable t ) {
return connectTieWrongOrb( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectTieWrongOrb( ) {
return connectTieWrongOrb( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_TIE_NO_SERVANT = SUNVMCID.value + 1406 ;
public BAD_PARAM connectTieNoServant( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_TIE_NO_SERVANT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectTieNoServant",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectTieNoServant( CompletionStatus cs ) {
return connectTieNoServant( cs, null ) ;
}
public BAD_PARAM connectTieNoServant( Throwable t ) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -