Arch4J 1.1

org.arch4j.clientcontroller
Class StateMachineException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.arch4j.core.BaseApplicationException
                    |
                    +--org.arch4j.clientcontroller.StateMachineException
All Implemented Interfaces:
BaseException, Serializable
Direct Known Subclasses:
ValueNotFoundException

public class StateMachineException
extends BaseApplicationException

This exception will be thrown within the state machine handling architecture to indicate a system type exception that cannot be handled by business code.

Exceptions will not be thrown to users of a state machine. Therefore, business related errors should be handled as they occur by entering into appropriate error states.

Version:
1.0
Author:
David Colwell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.arch4j.core.BaseApplicationException
nestedException
 
Constructor Summary
StateMachineException()
          Constructs a StateMachineException with no specified detail message or nested exception.
StateMachineException(String message)
          Constructs a StateMachineException with the specified detail message.
StateMachineException(String message, Throwable exception)
          Constructs a StateMachineException with the specified detail message and nested exception.
StateMachineException(Throwable exception)
          Constructs a StateMachineException with the specified nested exception.
 
Methods inherited from class org.arch4j.core.BaseApplicationException
getMessage, getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateMachineException

public StateMachineException()
Constructs a StateMachineException with no specified detail message or nested exception.


StateMachineException

public StateMachineException(String message)
Constructs a StateMachineException with the specified detail message.

Parameters:
message - The detailed message.

StateMachineException

public StateMachineException(Throwable exception)
Constructs a StateMachineException with the specified nested exception.

Parameters:
exception - The nested exception.

StateMachineException

public StateMachineException(String message,
                             Throwable exception)
Constructs a StateMachineException with the specified detail message and nested exception.

Parameters:
message - The detailed message.
exception - The nested exception.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.