Package java.rmi.activation

Examples of java.rmi.activation.UnknownGroupException


                if (entry != null && !entry.removed) {
                    return entry;
                }
            }
        }
        throw new UnknownGroupException("group unknown");
    }
View Full Code Here


public class UnknownGroupExceptionTest extends TestCase {
    /**
     * Test method for {@link java.rmi.activation.UnknownGroupException#UnknownGroupException(java.lang.String)}.
     */
    public void testUnknownGroupException() {
        UnknownGroupException e = new UnknownGroupException("fixture");
        assertEquals("fixture", e.getMessage());
        assertNull(e.getCause());
        assertNull(e.detail);
        try {
            e.initCause(new NullPointerException());
            fail("did not throw illegal state exception");
        } catch (IllegalStateException ise) {
        }
    }
View Full Code Here

TOP

Related Classes of java.rmi.activation.UnknownGroupException

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.