|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--net.openai.util.fsm.UnhandledConditionException
An Exception
for when a Condition
is not satisfied
by the input into the Machine
. In terms of natural languages,
this is thrown when a sentence is invalid for the verifying machine.
Constructor Summary | |
UnhandledConditionException(State state,
java.lang.Object condition)
Constructs a new UnhandledConditionException |
Method Summary | |
java.lang.Object |
getCondition()
Returns a handle to the source condition object. |
State |
getState()
Returns a handle to the source State . |
java.lang.String |
toString()
Returns a String represention of this object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnhandledConditionException(State state, java.lang.Object condition)
state
- The State
that failed to have a matching
Condition
.condition
- The input object that failed to match any of the
Condition
s.Method Detail |
public final State getState()
State
.
State
that failed to have a matching
Condition
.public final java.lang.Object getCondition()
Condition
s.public final java.lang.String toString()
String
represention of this object.
toString
in class java.lang.Throwable
String
representation of this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |