本文整理汇总了Java中org.omg.CORBA.INTERNAL.initCause方法的典型用法代码示例。如果您正苦于以下问题:Java INTERNAL.initCause方法的具体用法?Java INTERNAL.initCause怎么用?Java INTERNAL.initCause使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.omg.CORBA.INTERNAL
的用法示例。
在下文中一共展示了INTERNAL.initCause方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: workerThreadNotNeeded
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL workerThreadNotNeeded( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( WORKER_THREAD_NOT_NEEDED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.FINE, "ORBUTIL.workerThreadNotNeeded",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
示例2: piDiiResultIsNull
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL piDiiResultIsNull( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( PI_DII_RESULT_IS_NULL, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "INTERCEPTORS.piDiiResultIsNull",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
示例3: classNotFound
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL classNotFound( CompletionStatus cs, Throwable t, Object arg0) {
INTERNAL exc = new INTERNAL( CLASS_NOT_FOUND, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.classNotFound",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
示例4: exceptionInExceptions
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL exceptionInExceptions( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( EXCEPTION_IN_EXCEPTIONS, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "INTERCEPTORS.exceptionInExceptions",
parameters, InterceptorsSystemException.class, exc ) ;
}
return exc ;
}
示例5: namingCtxBindingIteratorCreate
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL namingCtxBindingIteratorCreate( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( NAMING_CTX_BINDING_ITERATOR_CREATE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.namingCtxBindingIteratorCreate",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
示例6: transNcBindAlreadyBound
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL transNcBindAlreadyBound( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( TRANS_NC_BIND_ALREADY_BOUND, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.transNcBindAlreadyBound",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
示例7: cantCloneTemplate
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL cantCloneTemplate( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( CANT_CLONE_TEMPLATE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.cantCloneTemplate",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
示例8: namingCtxBadBindingtype
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL namingCtxBadBindingtype( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( NAMING_CTX_BAD_BINDINGTYPE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.namingCtxBadBindingtype",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}
示例9: errorResolvingAlias
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL errorResolvingAlias( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( ERROR_RESOLVING_ALIAS, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.errorResolvingAlias",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
示例10: badLocalreplystatus
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
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 ;
}
示例11: emptyStackRunServantPostInvoke
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL emptyStackRunServantPostInvoke( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( EMPTY_STACK_RUN_SERVANT_POST_INVOKE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.emptyStackRunServantPostInvoke",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
示例12: aomEntryDecZero
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL aomEntryDecZero( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( AOM_ENTRY_DEC_ZERO, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "POA.aomEntryDecZero",
parameters, POASystemException.class, exc ) ;
}
return exc ;
}
示例13: readUndeclaredException
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
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 ;
}
示例14: peekstringFailed
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL peekstringFailed( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( PEEKSTRING_FAILED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "ORBUTIL.peekstringFailed",
parameters, ORBUtilSystemException.class, exc ) ;
}
return exc ;
}
示例15: namingCtxRebindAlreadyBound
import org.omg.CORBA.INTERNAL; //导入方法依赖的package包/类
public INTERNAL namingCtxRebindAlreadyBound( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( NAMING_CTX_REBIND_ALREADY_BOUND, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "NAMING.namingCtxRebindAlreadyBound",
parameters, NamingSystemException.class, exc ) ;
}
return exc ;
}