JSR-043: JTAPI-1.4

javax.telephony.media
Class ASR.NoContextException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.telephony.media.MediaRuntimeException
                          |
                          +--javax.telephony.media.ASR.NoContextException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ASR

public static class ASR.NoContextException
extends MediaRuntimeException

Thrown when an operation is attempted using a Context that has not been created on the ASR Resource. The method contextCreate must be used to create the Context on the resource before the Context can be used or trained.

This is a RuntimeException and may be thrown by any method that uses a Context, even though it is not declared.

See Also:
Serialized Form

Constructor Summary
ASR.NoContextException()
          Constructs a NoContextException.
ASR.NoContextException(java.lang.String s)
          Constructs a NoContextException with the specified detail message.
 
Methods inherited from class javax.telephony.media.MediaRuntimeException
getEvent
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASR.NoContextException

public ASR.NoContextException()
Constructs a NoContextException.

ASR.NoContextException

public ASR.NoContextException(java.lang.String s)
Constructs a NoContextException with the specified detail message.
Parameters:
s - the detail message.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org