JSR-043: JTAPI-1.4

javax.telephony.media
Class NoServiceAssignedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.telephony.media.MediaException
                    |
                    +--javax.telephony.media.MediaServiceException
                          |
                          +--javax.telephony.media.MediaBindException
                                |
                                +--javax.telephony.media.NoServiceAssignedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadServiceNameException

public class NoServiceAssignedException
extends MediaBindException

Thrown by releaseToService if there is no mapping from the disposition String to a serviceName.

Conceptually, this is like getting a reorder tone when dialing a number for which there is no assigned Address or Terminal.

Since:
JTAPI-1.3
See Also:
Serialized Form

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

NoServiceAssignedException

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

NoServiceAssignedException

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

NoServiceAssignedException

public NoServiceAssignedException(java.lang.String s,
                                  MediaEvent event)
Construct a NoServiceAssignedException 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