Package org.omg.CORBA

Examples of org.omg.CORBA.MARSHAL.initCause()


    public static final int BAD_FIXED = SUNVMCID.value + 252 ;
   
    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 ;
View Full Code Here


    public static final int READ_OBJECT_LOAD_CLASS_FAILURE = SUNVMCID.value + 253 ;
   
    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 ;
View Full Code Here

    public static final int COULD_NOT_INSTANTIATE_HELPER = SUNVMCID.value + 254 ;
   
    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",
View Full Code Here

    public static final int BAD_TOA_OAID = SUNVMCID.value + 255 ;
   
    public MARSHAL badToaOaid( CompletionStatus cs, Throwable t ) {
        MARSHAL exc = new MARSHAL( BAD_TOA_OAID, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ORBUTIL.badToaOaid",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

    public static final int COULD_NOT_INVOKE_HELPER_READ_METHOD = SUNVMCID.value + 256 ;
   
    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",
View Full Code Here

    public static final int COULD_NOT_FIND_CLASS = SUNVMCID.value + 257 ;
   
    public MARSHAL couldNotFindClass( CompletionStatus cs, Throwable t ) {
        MARSHAL exc = new MARSHAL( COULD_NOT_FIND_CLASS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ORBUTIL.couldNotFindClass",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

    public static final int BAD_ARGUMENTS_NVLIST = SUNVMCID.value + 258 ;
   
    public MARSHAL badArgumentsNvlist( CompletionStatus cs, Throwable t ) {
        MARSHAL exc = new MARSHAL( BAD_ARGUMENTS_NVLIST, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "ORBUTIL.badArgumentsNvlist",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

    public static final int STUB_CREATE_ERROR = SUNVMCID.value + 259 ;
   
    public MARSHAL stubCreateError( CompletionStatus cs, Throwable t ) {
        MARSHAL exc = new MARSHAL( STUB_CREATE_ERROR, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "ORBUTIL.stubCreateError",
                parameters, ORBUtilSystemException.class, exc ) ;
View Full Code Here

    public static final int JAVA_SERIALIZATION_EXCEPTION = SUNVMCID.value + 260 ;
   
    public MARSHAL javaSerializationException( CompletionStatus cs, Throwable t, Object arg0) {
        MARSHAL exc = new MARSHAL( JAVA_SERIALIZATION_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.javaSerializationException",
View Full Code Here

        try {
            return (ValueDescriptor) getRepository().getDescriptor(clz, repid,
                    runtime);
        } catch (ClassNotFoundException ex) {
            MARSHAL m = new MARSHAL("class not found " + ex.getMessage());
            m.initCause(ex);
            throw m;
        }
    }

    public void writeValue(org.omg.CORBA.portable.OutputStream out,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.