public class EventException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public EventException()
public EventException(java.lang.String pStr)
public EventException(java.lang.Throwable pSourceException)
pSourceException
- the initial exception which was the root
cause of the problempublic EventException(java.lang.String pStr, java.lang.Throwable pSourceException)
pSourceException
- the initial exception which was the root
cause of the problempublic void setSourceException(java.lang.Throwable pSourceException)
public java.lang.Throwable getSourceException()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream pStream)
printStackTrace
in class java.lang.Throwable
pStream
- Stream to print topublic void printStackTrace(java.io.PrintWriter pWriter)
printStackTrace
in class java.lang.Throwable
pWriter
- Writer to print topublic java.lang.String toString()
toString
in class java.lang.Throwable