Example usage for java.rmi.activation ActivationException ActivationException

List of usage examples for java.rmi.activation ActivationException ActivationException

Introduction

In this page you can find the example usage for java.rmi.activation ActivationException ActivationException.

Prototype

public ActivationException(String s) 

Source Link

Document

Constructs an ActivationException with the specified detail message.

Usage

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 w w.  ja v  a  2 s  .  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 });
}