当前位置: 首页>>代码示例>>Java>>正文


Java MARSHAL.initCause方法代码示例

本文整理汇总了Java中org.omg.CORBA.MARSHAL.initCause方法的典型用法代码示例。如果您正苦于以下问题:Java MARSHAL.initCause方法的具体用法?Java MARSHAL.initCause怎么用?Java MARSHAL.initCause使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.omg.CORBA.MARSHAL的用法示例。


在下文中一共展示了MARSHAL.initCause方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: badFixed

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL badFixed( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
    MARSHAL exc = new MARSHAL( BAD_FIXED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[2] ;
        parameters[0] = arg0 ;
        parameters[1] = arg1 ;
        doLog( Level.WARNING, "ORBUTIL.badFixed",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:ORBUtilSystemException.java

示例2: positiveEndTag

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL positiveEndTag( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
    MARSHAL exc = new MARSHAL( POSITIVE_END_TAG, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[2] ;
        parameters[0] = arg0 ;
        parameters[1] = arg1 ;
        doLog( Level.WARNING, "ORBUTIL.positiveEndTag",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:ORBUtilSystemException.java

示例3: readObjectException

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL readObjectException( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( READ_OBJECT_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.readObjectException",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java

示例4: couldNotInstantiateHelper

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL couldNotInstantiateHelper( CompletionStatus cs, Throwable t, Object arg0) {
    MARSHAL exc = new MARSHAL( COULD_NOT_INSTANTIATE_HELPER, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "ORBUTIL.couldNotInstantiateHelper",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:ORBUtilSystemException.java

示例5: unableLocateValueHelper

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL unableLocateValueHelper( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( UNABLE_LOCATE_VALUE_HELPER, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "UTIL.unableLocateValueHelper",
            parameters, UtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:UtilSystemException.java

示例6: invalidComplexTypecode

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL invalidComplexTypecode( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( INVALID_COMPLEX_TYPECODE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.invalidComplexTypecode",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java

示例7: readObjectLoadClassFailure

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL readObjectLoadClassFailure( CompletionStatus cs, Throwable t, Object arg0, Object arg1) {
    MARSHAL exc = new MARSHAL( READ_OBJECT_LOAD_CLASS_FAILURE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[2] ;
        parameters[0] = arg0 ;
        parameters[1] = arg1 ;
        doLog( Level.WARNING, "ORBUTIL.readObjectLoadClassFailure",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:ORBUtilSystemException.java

示例8: customWrapperIndirection

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL customWrapperIndirection( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( CUSTOM_WRAPPER_INDIRECTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.customWrapperIndirection",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java

示例9: couldNotInvokeHelperReadMethod

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL couldNotInvokeHelperReadMethod( CompletionStatus cs, Throwable t, Object arg0) {
    MARSHAL exc = new MARSHAL( COULD_NOT_INVOKE_HELPER_READ_METHOD, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "ORBUTIL.couldNotInvokeHelperReadMethod",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:ORBUtilSystemException.java

示例10: wcharBadGiopVersionSent

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL wcharBadGiopVersionSent( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_SENT, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionSent",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:OMGSystemException.java

示例11: valuehandlerReadException

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL valuehandlerReadException( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( VALUEHANDLER_READ_EXCEPTION, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.valuehandlerReadException",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java

示例12: cannotMarshalNative

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL cannotMarshalNative( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( CANNOT_MARSHAL_NATIVE, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.cannotMarshalNative",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java

示例13: cnfeReadClass

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL cnfeReadClass( CompletionStatus cs, Throwable t, Object arg0) {
    MARSHAL exc = new MARSHAL( CNFE_READ_CLASS, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = new Object[1] ;
        parameters[0] = arg0 ;
        doLog( Level.WARNING, "ORBUTIL.cnfeReadClass",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:ORBUtilSystemException.java

示例14: wcharBadGiopVersionReturned

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL wcharBadGiopVersionReturned( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( WCHAR_BAD_GIOP_VERSION_RETURNED, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "OMG.wcharBadGiopVersionReturned",
            parameters, OMGSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:OMGSystemException.java

示例15: cannotMarshalBadTckind

import org.omg.CORBA.MARSHAL; //导入方法依赖的package包/类
public MARSHAL cannotMarshalBadTckind( CompletionStatus cs, Throwable t ) {
    MARSHAL exc = new MARSHAL( CANNOT_MARSHAL_BAD_TCKIND, cs ) ;
    if (t != null)
        exc.initCause( t ) ;
    
    if (logger.isLoggable( Level.WARNING )) {
        Object[] parameters = null ;
        doLog( Level.WARNING, "ORBUTIL.cannotMarshalBadTckind",
            parameters, ORBUtilSystemException.class, exc ) ;
    }
    
    return exc ;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ORBUtilSystemException.java


注:本文中的org.omg.CORBA.MARSHAL.initCause方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。