org.openeai
Class OpenEaiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openeai.OpenEaiException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommandException, EnterpriseConfigurationObjectException, EnterpriseFieldException, EnterpriseLayoutException, EnterpriseObjectCreateException, EnterpriseObjectDeleteException, EnterpriseObjectException, EnterpriseObjectGenerateException, EnterpriseObjectQueryException, EnterpriseObjectSyncException, EnterpriseObjectUpdateException, EnterpriseScrubberException, EnterpriseTranslationException, InvalidFormatException, JMSTimeoutException, ScheduledCommandException, ScheduleIdStoreException, ThreadPoolException, TransportException, XmlDocumentReaderException, XmlEnterpriseObjectException

public class OpenEaiException
extends java.lang.Exception

The parent of all OpenEAI related exception. This exception contains a root cuase exception. All printStackTrace() methods are overridden to append the root cause's stack trace to the normal stack trace.

Version:
3.0 - 28 January 2003
Author:
John Ellis (joellis@sct.com)
See Also:
Serialized Form

Constructor Summary
OpenEaiException()
          Default constructor.
OpenEaiException(java.lang.String message)
          Constructor.
OpenEaiException(java.lang.String message, java.lang.Throwable rootCause)
          Constructor.
OpenEaiException(java.lang.Throwable rootCause)
          Constructor.
 
Method Summary
 void printStackTrace()
          Prints this Exception and its backtrace to System.err.
 void printStackTrace(java.io.PrintStream s)
          Prints this Exception and its backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this Exception and its backtrace to the specified print writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenEaiException

public OpenEaiException()
Default constructor.


OpenEaiException

public OpenEaiException(java.lang.String message)
Constructor.

Parameters:
message - text descibing the exception

OpenEaiException

public OpenEaiException(java.lang.Throwable rootCause)
Constructor.

Parameters:
rootCause - the Exception that caused this exception to be thrown

OpenEaiException

public OpenEaiException(java.lang.String message,
                        java.lang.Throwable rootCause)
Constructor.

Parameters:
reason - an text message describing the exception
parent - the Exception that caused this exception to be thrown
Method Detail

printStackTrace

public void printStackTrace()
Prints this Exception and its backtrace to System.err.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this Exception and its backtrace to the specified print stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this Exception and its backtrace to the specified print writer.

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2002,2003 OpenEAI Software Foundation