JSR-043: JTAPI-1.4

javax.telephony
Class PlatformException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.telephony.PlatformException
All Implemented Interfaces:
java.io.Serializable

public class PlatformException
extends java.lang.RuntimeException

A PlatformException indicates an implementation-specific exception. The specific exceptions which implementations throw is documented in their release notes.

JTAPI v1.1.1 NOTE: PlatformException extends Java's RuntimeException. This permits it to be thrown from a JTAPI method without being declared in its signature. Note that no JTAPI methods declare PlatformException to be thrown. This is a change from v1.1, but does not affect applications.

Since PlatformException typically denotes some form of unrecoverable platform-dependent error, invoking the method again typically does not yield success. These types of exceptions are often best dealt with at a higher level, in a top-level "try-catch" block where the entire application could be restarted.

See Also:
Serialized Form

Constructor Summary
PlatformException()
          Constructor with no string.
PlatformException(java.lang.String s)
          Constructor which takes a string description.
 
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

PlatformException

public PlatformException()
Constructor with no string.

PlatformException

public PlatformException(java.lang.String s)
Constructor which takes a string description.
Parameters:
s - description of the fault.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org