Package org.jacorb.test

Examples of org.jacorb.test.MyUserException


    @Test
    public void test_userexception()
        throws Exception
    {
        MyUserException original = new MyUserException ("test");
        Any outAny = setup.getClientOrb().create_any();
        MyUserExceptionHelper.insert(outAny, original);

        Any inAny = server.bounce_any(outAny);
        assertTrue(outAny.equal(inAny));

        MyUserException result = MyUserExceptionHelper.extract (inAny);

        assertTrue (original.message.equals (result.message));
    }
View Full Code Here


        throw new NonEmptyException (f1, f2);
    }

    public void throwUserException() throws MyUserException
    {
        throw new MyUserException();
    }
View Full Code Here

        throw new MyUserException();
    }

    public void throwUserExceptionWithMessage2(String reason, String message) throws MyUserException
    {
        throw new MyUserException(reason, message);
    }
View Full Code Here

TOP

Related Classes of org.jacorb.test.MyUserException

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.