public class ContainerException extends java.lang.Exception implements ContainableException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
ContainerException()
Constructs a new ContainerException.
|
ContainerException(java.lang.String pStr)
Constructs a new ContainerException with the given
explanation.
|
ContainerException(java.lang.String pStr,
java.lang.Throwable pSourceException)
Constructs a new ContainerException with the given explanation.
|
ContainerException(java.lang.Throwable pSourceException)
Constructs a new ContainerException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getMessageArguments()
Return property MessageArguments
|
java.lang.Throwable |
getSourceException()
Returns property SourceException
|
void |
printStackTrace(boolean pDisplaySource)
Print our stack trace and optionally that of the source exception
if there is one.
|
void |
printStackTrace(java.io.PrintStream pStream,
boolean pDisplaySource)
Print our stack trace and optionally 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 |
printStackTrace(java.io.PrintWriter pWriter,
boolean pDisplaySource)
Print our stack trace and optionally that of the source exception
if there is one.
|
void |
setMessageArguments(java.lang.Object[] pMessageArguments)
Sets the message arguments
|
void |
setSourceException(java.lang.Throwable pSourceException)
Sets property SourceException
|
java.lang.String |
toString()
Display information about this exception and that of the source
exception if there is one.
|
java.lang.String |
toString(boolean pDisplaySource)
Display information about this exception and optionally that of
the source exception if there is one.
|
public ContainerException()
public ContainerException(java.lang.String pStr)
public ContainerException(java.lang.Throwable pSourceException)
pSourceException - the initial exception which was the root
cause of the problempublic ContainerException(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()
getSourceException in interface ContainableExceptionpublic void setMessageArguments(java.lang.Object[] pMessageArguments)
pMessageArguments - Message arguments to setpublic java.lang.Object[] getMessageArguments()
public void printStackTrace(boolean pDisplaySource)
pDisplaySource - if true display the source exception info toopublic void printStackTrace(java.io.PrintStream pStream,
boolean pDisplaySource)
pStream - Stream to print topDisplaySource - if true display the source exception info toopublic void printStackTrace(java.io.PrintWriter pWriter)
printStackTrace in class java.lang.ThrowablepWriter - writer to print topublic void printStackTrace(java.io.PrintWriter pWriter,
boolean pDisplaySource)
pWriter - Writer to print topDisplaySource - if true display the source exception info toopublic java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.String toString(boolean pDisplaySource)
pDisplaySource - if true display the source exception info