Package org.omg.CORBA

Examples of org.omg.CORBA.INTERNAL


    }
   
    public static final int SERVER_NOT_RUNNING = SUNVMCID.value + 406 ;
   
    public INTERNAL serverNotRunning( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( SERVER_NOT_RUNNING, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "ACTIVATION.serverNotRunning",
                parameters, ActivationSystemException.class, exc ) ;
View Full Code Here


                // The stream reader can handle fragmented and
                // non fragmented messages
                return new BufferManagerReadStream(orb);
            default:
                // REVISIT - what is appropriate?
                throw new INTERNAL("Unknown GIOP version: "
                                   + version);
        }
    }
View Full Code Here

        }
        switch (strategy) {
            case BufferManagerFactory.GROW:
                return new BufferManagerReadGrow(orb);
            case BufferManagerFactory.COLLECT:
                throw new INTERNAL("Collect strategy invalid for reading");
            case BufferManagerFactory.STREAM:
                return new BufferManagerReadStream(orb);
            default:
                throw new INTERNAL("Unknown buffer manager read strategy: "
                                   + strategy);
        }
    }
View Full Code Here

            case BufferManagerFactory.COLLECT:
                return new BufferManagerWriteCollect(orb);
            case BufferManagerFactory.STREAM:
                return new BufferManagerWriteStream(orb);
            default:
                throw new INTERNAL("Unknown buffer manager write strategy: "
                                   + strategy);
        }
    }
View Full Code Here

    ///////////////////////////////////////////////////////////
   
    public static final int XA_RMERR = OMGVMCID.value + 1 ;
   
    public INTERNAL xaRmerr( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( XA_RMERR, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.xaRmerr",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    }
   
    public static final int XA_RMFAIL = OMGVMCID.value + 2 ;
   
    public INTERNAL xaRmfail( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( XA_RMFAIL, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "OMG.xaRmfail",
                parameters, OMGSystemException.class, exc ) ;
View Full Code Here

    ///////////////////////////////////////////////////////////
   
    public static final int ERROR_SET_OBJECT_FIELD = SUNVMCID.value + 1401 ;
   
    public INTERNAL errorSetObjectField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_OBJECT_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ERROR_SET_BOOLEAN_FIELD = SUNVMCID.value + 1402 ;
   
    public INTERNAL errorSetBooleanField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_BOOLEAN_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ERROR_SET_BYTE_FIELD = SUNVMCID.value + 1403 ;
   
    public INTERNAL errorSetByteField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_BYTE_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

    }
   
    public static final int ERROR_SET_CHAR_FIELD = SUNVMCID.value + 1404 ;
   
    public INTERNAL errorSetCharField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
        INTERNAL exc = new INTERNAL( ERROR_SET_CHAR_FIELD, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
       
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = new Object[3] ;
            parameters[0] = arg0 ;
            parameters[1] = arg1 ;
View Full Code Here

TOP

Related Classes of org.omg.CORBA.INTERNAL

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.