|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.openai.util.fsm.UnhandledConditionException
public final class 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
Conditions.| Method Detail |
|---|
public final State getState()
State.
State that failed to have a matching
Condition.public final java.lang.Object getCondition()
Conditions.public final java.lang.String toString()
String represention of this object.
toString in class java.lang.ThrowableString representation of this object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||