JSR-043: JTAPI-1.4

javax.telephony.media.messaging
Class ServiceClosedException

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

public class ServiceClosedException
extends ServiceException

A ServiceException indicating this service is closed.

Since:
JTAPI-1.4
See Also:
Serialized Form

Constructor Summary
ServiceClosedException()
          Constructs a ServiceClosedException with no specified detail message.
ServiceClosedException(java.lang.String s)
          Constructs a ServiceClosedException with the specified detail message.
ServiceClosedException(java.lang.String s, ServiceEvent event)
          Construct a ServiceClosedException 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

ServiceClosedException

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

ServiceClosedException

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

ServiceClosedException

public ServiceClosedException(java.lang.String s,
                              ServiceEvent event)
Construct a ServiceClosedException with the specified detail message and Event. Wraps the given Event in a ServiceClosedException. 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