atg.service.event
Class EventException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.service.event.EventException
All Implemented Interfaces:
java.io.Serializable

public class EventException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
EventException()
          Constructs a new EventException.
EventException(java.lang.String pStr)
          Constructs a new EventException with the given explanation.
EventException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructs a new EventException with the given explanation.
EventException(java.lang.Throwable pSourceException)
          Constructs a new EventException.
 
Method Summary
 java.lang.Throwable getSourceException()
          Returns property SourceException
 void printStackTrace()
          Print our stack trace and that of the source exception if there is one.
 void printStackTrace(java.io.PrintStream pStream)
          Print our stack trace and that of the source exception if there is one.
 void printStackTrace(java.io.PrintWriter pWriter)
          Print our stack trace and that of the source exception if there is one.
 void setSourceException(java.lang.Throwable pSourceException)
          Sets property SourceException
 java.lang.String toString()
          Returns the exception in String form.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

EventException

public EventException()
Constructs a new EventException.


EventException

public EventException(java.lang.String pStr)
Constructs a new EventException with the given explanation.


EventException

public EventException(java.lang.Throwable pSourceException)
Constructs a new EventException.

Parameters:
pSourceException - the initial exception which was the root cause of the problem

EventException

public EventException(java.lang.String pStr,
                      java.lang.Throwable pSourceException)
Constructs a new EventException with the given explanation.

Parameters:
pSourceException - the initial exception which was the root cause of the problem
Method Detail

setSourceException

public void setSourceException(java.lang.Throwable pSourceException)
Sets property SourceException


getSourceException

public java.lang.Throwable getSourceException()
Returns property SourceException

Returns:
the initial exception which was the root cause of the problem

printStackTrace

public void printStackTrace()
Print our stack trace and that of the source exception if there is one. Print to the standard error stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream pStream)
Print our stack trace and that of the source exception if there is one. Print to the supplied stream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pStream - Stream to print to

printStackTrace

public void printStackTrace(java.io.PrintWriter pWriter)
Print our stack trace and that of the source exception if there is one. Print to the supplied writer

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pWriter - Writer to print to

toString

public java.lang.String toString()
Returns the exception in String form.

Overrides:
toString in class java.lang.Throwable