本文整理了Java中org.omg.CORBA.INTERNAL.initCause()
方法的一些代码示例,展示了INTERNAL.initCause()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。INTERNAL.initCause()
方法的具体详情如下:
包路径:org.omg.CORBA.INTERNAL
类名称:INTERNAL
方法名:initCause
暂无
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL addPoaInactive(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(ADD_POA_INACTIVE, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "POA.addPoaInactive", parameters, POASystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL noServerSubcontract(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(NO_SERVER_SUBCONTRACT, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.noServerSubcontract", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badLocateRequestStatus(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_LOCATE_REQUEST_STATUS, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badLocateRequestStatus", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badReplystatus(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_REPLYSTATUS, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badReplystatus", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL nullReplyInGetAddrDisposition(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(NULL_REPLY_IN_GET_ADDR_DISPOSITION, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.nullReplyInGetAddrDisposition", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL statementNotReachable2(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(STATEMENT_NOT_REACHABLE2, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.statementNotReachable2", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badCodeSetString(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_CODE_SET_STRING, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badCodeSetString", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL badMessageTypeForCancel(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(BAD_MESSAGE_TYPE_FOR_CANCEL, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.badMessageTypeForCancel", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public INTERNAL unableToSetSocketFactoryOrb(CompletionStatus cs, Throwable t)
{
INTERNAL exc = new INTERNAL(UNABLE_TO_SET_SOCKET_FACTORY_ORB, cs);
if (t != null)
exc.initCause(t);
if (logger.isLoggable(Level.WARNING))
{
Object[] parameters = null;
doLog(Level.WARNING, "ORBUTIL.unableToSetSocketFactoryOrb", parameters, ORBUtilSystemException.class, exc);
}
return exc;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
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;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public INTERNAL exceptionInArguments( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( EXCEPTION_IN_ARGUMENTS, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "INTERCEPTORS.exceptionInArguments",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public INTERNAL piDsiResultIsNull( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( PI_DSI_RESULT_IS_NULL, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "INTERCEPTORS.piDsiResultIsNull",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public INTERNAL exceptionUnavailable( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( EXCEPTION_UNAVAILABLE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "INTERCEPTORS.exceptionUnavailable",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public INTERNAL readUndeclaredException( CompletionStatus cs, Throwable t, Object arg0) {
INTERNAL exc = new INTERNAL( READ_UNDECLARED_EXCEPTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "ORBUTIL.readUndeclaredException",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
内容来源于网络,如有侵权,请联系作者删除!