JSR-043: JTAPI-1.4

javax.telephony.media
Class MediaCallException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.telephony.media.MediaException
                    |
                    +--javax.telephony.media.MediaCallException
All Implemented Interfaces:
java.io.Serializable

public class MediaCallException
extends MediaException

Thrown by bindToCall() or bindAndConnect() if the operation cannot be completed due to a call processing failure. The nature of the call processing problem should be apparent from the detail message string in the MediaCallException.

Since:
JTAPI-1.3
See Also:
Serialized Form

Constructor Summary
MediaCallException()
          Constructs a MediaCallException with no specified detail message.
MediaCallException(java.lang.String s)
          Constructs a MediaCallException with the specified detail message.
MediaCallException(java.lang.String s, MediaEvent event)
          Construct a MediaCallException with the specified detail message and Event.
 
Methods inherited from class javax.telephony.media.MediaException
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

MediaCallException

public MediaCallException()
Constructs a MediaCallException with no specified detail message.

MediaCallException

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

MediaCallException

public MediaCallException(java.lang.String s,
                          MediaEvent event)
Construct a MediaCallException with the specified detail message and Event.
Parameters:
s - the detail message describing the error in the event.
event - a MediaEvent

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org