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.


Constructor Index

 o ActivationFailure(ObjectName, Exception)
Creates an activation failure.

Method Index

 o getException()
Gets the exception thrown.
 o getName()
Gets the object name.

Constructors

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

Methods

 o getName
 public ObjectName getName()
Gets the object name.

Returns:
The object name.
 o getException
 public Exception getException()
Gets the exception thrown.

Returns:
The exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index