Class PlatformException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.telephony.PlatformException
All Implemented Interfaces:
Direct Known Subclasses:

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.

%G% %I%
See Also:
Serialized Form

Constructor Summary
          Constructor with no string.
PlatformException(java.lang.String s)
          Constructor which takes a string description.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public PlatformException()
Constructor with no string.


public PlatformException(java.lang.String s)
Constructor which takes a string description.

s - description of the fault.

Copyright © 2005 Avaya All Rights Reserved.