All Packages Class Hierarchy This Package Previous Next Index
Class examples.recover.ActivationFailure
java.lang.Object
|
+----examples.recover.ActivationFailure
- public class ActivationFailure
- extends Object
- implements Serializable
This class encapsulates the information describing an activation failure.
It contains the name of the m-bean and the exception thrown at activation
time.
-
ActivationFailure(ObjectName, Exception)
- Creates an activation failure.
-
getException()
- Gets the exception thrown.
-
getName()
- Gets the object name.
ActivationFailure
public ActivationFailure(ObjectName name,
Exception exp)
- Creates an activation failure.
- Parameters:
- name - The object name of the m-bean.
- exp - The exception thrown on activation.
getName
public ObjectName getName()
- Gets the object name.
- Returns:
- The object name.
getException
public Exception getException()
- Gets the exception thrown.
- Returns:
- The exception.
All Packages Class Hierarchy This Package Previous Next Index