Examples of UnknownGroupException


Examples of java.rmi.activation.UnknownGroupException

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

Examples of java.rmi.activation.UnknownGroupException

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
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.