JSR-043: JTAPI-1.4

javax.telephony.media
Class MediaConfigException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.telephony.media.MediaException
                    |
                    +--javax.telephony.media.MediaServiceException
                          |
                          +--javax.telephony.media.MediaConfigException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadConfigSpecException, ConfigFailedBusyException, ResourceNotAvailableException, ResourceNotSupportedException

public abstract class MediaConfigException
extends MediaServiceException

The class of things that go wrong during Configuration.

Since:
JTAPI-1.3
See Also:
Serialized Form

Constructor Summary
MediaConfigException()
          Constructs a MediaConfigException with no specified detail message.
MediaConfigException(java.lang.String s)
          Constructs a MediaConfigException with the specified detail message.
MediaConfigException(java.lang.String s, MediaEvent event)
          Construct a MediaConfigException with the specified detail message and Event.
 
Method Summary
 ResourceSpec getResourceSpec()
          Return the ResourceSpec that is bad or unknown or unavailable.
 
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

MediaConfigException

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

MediaConfigException

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

MediaConfigException

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

getResourceSpec

public ResourceSpec getResourceSpec()
Return the ResourceSpec that is bad or unknown or unavailable.
Returns:
the ResourceSpec that is bad or unknown or unavailable.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org