java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.iicm.xpg.statemachine.TransitionException
- All Implemented Interfaces:
- java.io.Serializable
- public class TransitionException
- extends java.lang.Exception
- Version:
- $Revision: 1.1 $
Nested classes inherited from class java.lang.Throwable |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
exception_
protected java.lang.Exception exception_
TransitionException
public TransitionException()
TransitionException
public TransitionException(java.lang.String message)
TransitionException
public TransitionException(java.lang.Exception exc)
- Create a new TransitionException wrapping an existing exception.
The existing exception will be embedded in the new
one, and its message will become the default message for
the TransitionException.
TransitionException
public TransitionException(java.lang.String message,
java.lang.Exception exc)
- Create a new TransitionException from an existing exception.
The existing exception will be embedded in the new
one, but the new exception will have its own message.
getMessage
public java.lang.String getMessage()
- Return a detail message for this exception.
If there is an embedded exception, and if the TransitionException
has no detail message of its own, this method will return
the detail message from the embedded exception.
getException
public java.lang.Exception getException()
- Return the embedded exception, if any.
toString
public java.lang.String toString()
- Override toString to pick up any embedded exception.