|
JSAPI 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
RuntimeException
IllegalStateException
ResultStateException
public class ResultStateException
Thrown if there is an illegal call to a method of FinalResult
or
FinalRuleResult
.
Methods of these interfaces of a result can only be called
for a finalized Result
.
The getResultState
method of the Result interface tests the
result state and must return either ACCEPTED
or REJECTED
.
Furthermore, the methods of FinalRuleResult
should only be called for
a finalized Result
matching a RuleGrammar
.
FinalResult
,
FinalRuleResult
,
getResultState
Constructor Summary | |
---|---|
ResultStateException()
Constructs a ResultStateException with no detail message. |
|
ResultStateException(String message)
Constructs a ResultStateException with the specified detail message. |
Method Summary |
---|
Methods inherited from class Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultStateException()
ResultStateException
with no detail message.
public ResultStateException(String message)
ResultStateException
with the specified detail message.
A detail message is a String
that describes
this particular exception.
message
- the detail messagegetMessage
|
JSAPI 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Speech API 2.0,
Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.