java.lang.Object
java.lang.Throwable
java.lang.Exception
java.rmi.activation.ActivationException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- UnknownGroupException, UnknownObjectException
- public class ActivationException
- extends java.lang.Exception
General exception class for java.rmi.activation.
- Since:
- 1.2
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
|
Method Summary |
java.lang.Throwable |
getCause()
Returns the cause of this exception. |
java.lang.String |
getMessage()
This method returns a message indicating what went wrong, in this
format:
super.getMessage() + (detail == null ? ""
: "; nested exception is:\n\t" + detail). |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.2+.
- See Also:
- Constant Field Values
detail
public java.lang.Throwable detail
- The cause of this exception. This pre-dates the exception chaining
of Throwable; and although you can change this field, you are wiser
to leave it alone.
ActivationException
public ActivationException()
- Create an exception with no message, and cause initialized to null.
ActivationException
public ActivationException(java.lang.String s)
- Create an exception with the given message, and cause initialized to null.
ActivationException
public ActivationException(java.lang.String s,
java.lang.Throwable ex)
- Create an exception with the given message and cause.
getMessage
public java.lang.String getMessage()
- This method returns a message indicating what went wrong, in this
format:
super.getMessage() + (detail == null ? ""
: "; nested exception is:\n\t" + detail).
getCause
public java.lang.Throwable getCause()
- Returns the cause of this exception. Note that this may not be the
original cause, thanks to the
detail field being public
and non-final (yuck). However, to avoid violating the contract of
Throwable.getCause(), this returns null if detail == this,
as no exception can be its own cause.
- Since:
- 1.4