JSR-043: JTAPI-1.4

javax.telephony.media.messaging
Class ServiceRequestException

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

public class ServiceRequestException
extends ServiceException

Indicates that the remote service responded with an Exception.

Since:
JTAPI-1.4
See Also:
Serialized Form

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

ServiceRequestException

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

ServiceRequestException

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

ServiceRequestException

public ServiceRequestException(java.lang.String s,
                               ServiceEvent event)
Construct a ServiceRequestException with the specified detail message and Event. Wraps the given Event in a ServiceRequestException. This exception is thrown if the Event indicates an error or other exceptional status.
Parameters:
s - the detail message describing the error in the event.
event - a ServiceEvent

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org