Module PauWareTwo
Class StateMachine_execution_exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pauware.pauware_engine.Exceptions.State_exception
com.pauware.pauware_engine.Exceptions.StateMachine_execution_exception
- All Implemented Interfaces:
java.io.Serializable
public class StateMachine_execution_exception extends State_exception
This class is concerned with abnormal situations or failures when the
PauWare engine is running. It acts as an encapsulation means for all
kinds of problems that may occur in Java. Any problem that may occur during a
run-to-completion cycle is identified in creating an instance of this
exception class.
Compatibility: Java 9.
- Since:
- 1.0
- See Also:
Throwable
,AbstractStateMachine.run_to_completion(String,boolean)
, Serialized Form
-
Constructor Summary
Constructors Constructor Description StateMachine_execution_exception(java.lang.String message, java.lang.Object problem)
-
Method Summary
Modifier and Type Method Description java.lang.String
getMessage()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
StateMachine_execution_exception
public StateMachine_execution_exception(java.lang.String message, java.lang.Object problem)- Parameters:
message
- A text explaining the problem's cause.problem
- The source object of the problem.
-
-
Method Details
-
getMessage
public java.lang.String getMessage()- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- A message explaning why a transition is ill-formed.
-