Package org.omg.CORBA

Examples of org.omg.CORBA.UNKNOWN


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


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

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

    ///////////////////////////////////////////////////////////
   
    public static final int OTSHOOKEXCEPTION = SUNVMCID.value + 1001 ;
   
    public UNKNOWN otshookexception( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( OTSHOOKEXCEPTION, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "POA.otshookexception",
                parameters, POASystemException.class, exc ) ;
View Full Code Here

            } catch (MarshalException e) {
                log.debug("MarshalException", e);
                throw new MARSHAL(e.toString()).initCause(e);
            } catch (RemoteException e) {
                log.debug("RemoteException", e);
                throw new UNKNOWN(e.toString()).initCause(e);
            } finally {
                Thread.currentThread().setContextClassLoader(savedCL);
            }
        }
View Full Code Here

                log.debug("Error", e);
                RemoteException remoteException = new RemoteException(e.getClass().getName() + " thrown from " + ejbDeployment.getDeploymentId() + ": " + e.getMessage(), e);
                throw new UnknownException(remoteException);
            } catch (Throwable e) {
                log.warn("Unexpected throwable", e);
                throw (SystemException)new UNKNOWN("Unknown exception type " + e.getClass().getName() + ": " + e.getMessage()).initCause(e);
            }

            // creat the output stream
            org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
View Full Code Here

    ///////////////////////////////////////////////////////////
   
    public static final int UNKNOWN_REQUEST_INVOKE = SUNVMCID.value + 801 ;
   
    public UNKNOWN unknownRequestInvoke( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( UNKNOWN_REQUEST_INVOKE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.FINE )) {
            Object[] parameters = null ;
            doLog( Level.FINE, "INTERCEPTORS.unknownRequestInvoke",
                parameters, InterceptorsSystemException.class, exc ) ;
View Full Code Here

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

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

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

TOP

Related Classes of org.omg.CORBA.UNKNOWN

Copyright © 2018 www.massapicom. 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.