JSR-043: JTAPI-1.4

javax.telephony.media
Class ResourceBusyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.telephony.media.MediaException
                    |
                    +--javax.telephony.media.MediaResourceException
                          |
                          +--javax.telephony.media.ResourceBusyException
All Implemented Interfaces:
java.io.Serializable

Deprecated. not used or required by the spec, just use getError().equals(e_Busy).

public class ResourceBusyException
extends MediaResourceException

Thrown when a resource operation cannot be completed because the resource is already busy.

For example, this is thrown by Player.play() when the Player is busy and (Player.p_IfBusy = v_Fail).

Since:
JTAPI-1.3
See Also:
Serialized Form

Constructor Summary
ResourceBusyException()
          Deprecated. Constructs a ResourceBusyException with no specified detail message.
ResourceBusyException(java.lang.String s)
          Deprecated. Constructs a ResourceBusyException with the specified detail message.
ResourceBusyException(java.lang.String s, ResourceEvent event)
          Deprecated. Construct a ResourceBusyException with the specified detail message and Event.
 
Methods inherited from class javax.telephony.media.MediaResourceException
getResourceEvent
 
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

ResourceBusyException

public ResourceBusyException()
Deprecated. 
Constructs a ResourceBusyException with no specified detail message.

ResourceBusyException

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

ResourceBusyException

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