List of usage examples for java.rmi.activation UnknownObjectException UnknownObjectException
public UnknownObjectException(String s)
UnknownObjectException
with the specified detail message. From source file:org.marketcetera.util.except.ExceptUtilsTest.java
@Test public void equality() { assertTrue(ExceptUtils.areEqual(null, null)); equalityHelper(new ActivationException(TEST_MSG_1), new ActivationException(TEST_MSG_1), new Throwable[] { new ActivationException(), new ActivationException(TEST_MSG_2), new UnknownObjectException(TEST_MSG_1), new I18NException(), null }); equalityHelper(// w ww. j ava2s .com new I18NException(new ActivationException(TEST_MSG_1), new I18NBoundMessage1P(TestMessages.MID_EXCEPTION, MID_MSG_PARAM)), new I18NException(new ActivationException(TEST_MSG_1), new I18NBoundMessage1P(TestMessages.MID_EXCEPTION, MID_MSG_PARAM)), new Throwable[] { new I18NException(new ActivationException(TEST_MSG_1)), new I18NException(new ActivationException(TEST_MSG_1), TestMessages.BOT_EXCEPTION), new I18NException(new ActivationException(TEST_MSG_2), new I18NBoundMessage1P(TestMessages.MID_EXCEPTION, MID_MSG_PARAM)), new I18NException(new I18NBoundMessage1P(TestMessages.MID_EXCEPTION, MID_MSG_PARAM)), new ActivationException(TEST_MSG_1), null }); }