javax.telephony.media
Class BadServiceNameException
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
|
+--javax.telephony.media.BadServiceNameException
- All Implemented Interfaces:
- java.io.Serializable
- public class BadServiceNameException
- extends NoServiceAssignedException
Thrown when the disposition or serviceName String is ill-formed.
This Exception indicates the String cannot be (or be mapped to)
a legal service name.
Conceptually, this is like getting a reorder tone when dialing
a number that is not in the dial plan.
- Since:
- JTAPI-1.3
- See Also:
- Serialized Form
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 |
BadServiceNameException
public BadServiceNameException()
- Constructs a
BadServiceNameException
with no specified detail message.
BadServiceNameException
public BadServiceNameException(java.lang.String s)
- Constructs a
BadServiceNameException
with the specified detail message.
- Parameters:
s
- the detail message.
BadServiceNameException
public BadServiceNameException(java.lang.String s,
MediaEvent event)
- Construct a
BadServiceNameException
with the specified detail message and Event.
- Parameters:
s
- the detail message describing the error in the event.event
- a MediaEvent
Send comments to: JSR-43@ectf.org