Package com.sun.jini.test.spec.jeri.transport.util

Examples of com.sun.jini.test.spec.jeri.transport.util.ArbitraryException


        //Obtain a server endpoint instance
        ServerEndpoint endpoint = getServerEndpoint();
        try {
            //Verify that an arbitrary exception is propagated
            endpoint.enumerateListenEndpoints(
                new ExceptionListenContext(new ArbitraryException()));
        } catch (ArbitraryException a) {
            try {
                //Verify that an IOException is propagated
                endpoint.enumerateListenEndpoints(
                    new ExceptionListenContext(new IOException()));
View Full Code Here

TOP

Related Classes of com.sun.jini.test.spec.jeri.transport.util.ArbitraryException

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.