Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.iicm.xpg.statemachine
Class TransitionException  view TransitionException download TransitionException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.iicm.xpg.statemachine.TransitionException
All Implemented Interfaces:
java.io.Serializable

public class TransitionException
extends java.lang.Exception

Version:
$Revision: 1.1 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
protected  java.lang.Exception exception_
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
TransitionException()
           
TransitionException(java.lang.Exception exc)
          Create a new TransitionException wrapping an existing exception.
TransitionException(java.lang.String message)
           
TransitionException(java.lang.String message, java.lang.Exception exc)
          Create a new TransitionException from an existing exception.
 
Method Summary
 java.lang.Exception getException()
          Return the embedded exception, if any.
 java.lang.String getMessage()
          Return a detail message for this exception.
 java.lang.String toString()
          Override toString to pick up any embedded exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exception_

protected java.lang.Exception exception_
Constructor Detail

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.

Method Detail

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.