Examples of Transient


Examples of org.omg.CORBA.TRANSIENT

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

Examples of org.omg.CORBA.TRANSIENT

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

Examples of org.omg.CORBA.TRANSIENT

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

Examples of org.omg.CORBA.TRANSIENT

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

Examples of org.omg.CORBA.TRANSIENT

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

Examples of org.omg.CORBA.TRANSIENT

        // start a receiver thread
        AnyPushReceiver _receiver = new AnyPushReceiver(getClientORB())
        {
            public void push(Any any)
            {
                throw new TRANSIENT();
            }

            public void disconnect_push_consumer()
            {
                super.disconnect_push_consumer();
View Full Code Here

Examples of org.omg.CORBA.TRANSIENT

       
        StructuredPushReceiver _receiver = new StructuredPushReceiver(getClientORB())
        {
            public void push_structured_event(StructuredEvent event)
            {
                throw new TRANSIENT();
            }
           
            public void disconnect_structured_push_consumer()
            {
                super.disconnect_structured_push_consumer();
View Full Code Here

Examples of org.omg.CORBA.TRANSIENT

    public void testTryOperationsThrowsException() throws Exception
    {
        mockPullCoffee_.try_drinking_coffee(null, null);
        controlPullCoffeeOperations_.setMatcher(MockControl.ALWAYS_MATCHER);
        controlPullCoffeeOperations_.setThrowable(new TRANSIENT());

        mockPullCoffee_.try_cancel_coffee(null);
        controlPullCoffeeOperations_.setMatcher(new AbstractMatcher()
        {
            public boolean matches(Object[] arg0, Object[] arg1)
View Full Code Here

Examples of org.omg.CORBA.TRANSIENT

                .createControl(StructuredPushConsumer.class);
        StructuredPushConsumer mockStructuredPushConsumer = (StructuredPushConsumer) controlStructuredPushConsumer
                .getMock();

        mockStructuredPushConsumer.push_structured_event(event);
        controlStructuredPushConsumer.setThrowable(new TRANSIENT());

        controlStructuredPushConsumer.replay();

        objectUnderTest_.connect_structured_push_consumer(mockStructuredPushConsumer);
View Full Code Here

Examples of org.omg.CORBA.TRANSIENT

        mockConsumer_.destroy();

        controlConsumer_.replay();

        mockPushOperation_.invokePush();
        controlPushOperation_.setThrowable(new TRANSIENT());

        mockPushOperation_.dispose();

        controlPushOperation_.replay();
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.