|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--oss.net.pstream.PortletStreamException
Exception class for PortletStream Exceptions. This class is used as a capsule to contain base exceptions (Format exceptions, network exceptions, etc...)
Constructor Summary | |
PortletStreamException(java.lang.Exception Cause)
Creates a new PortletStreamException from a parent exception. |
|
PortletStreamException(java.lang.String Message)
Redefinition of the Exception constructor. |
|
PortletStreamException(java.lang.String Prepend,
java.lang.Exception Cause)
Creates a new exception with the root cause of Cause and prepends the message Prepend to the error message. |
Method Summary | |
java.lang.Exception |
getRootCause()
Returns the exception that caused this exception. |
void |
printStackTrace()
Overrides parent PrintStackTrace to print the root exception cause. |
void |
printStackTrace(java.io.PrintStream PS)
Overrides parent printStackTrace to the supplied PrintStream. |
void |
printStackTrace(java.io.PrintWriter PW)
Overrides parent printStackTrace to the supplied PrintWriter |
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 |
public PortletStreamException(java.lang.String Message)
Message
- the message of the exception.public PortletStreamException(java.lang.Exception Cause)
public PortletStreamException(java.lang.String Prepend, java.lang.Exception Cause)
Prepend
- A message to prepend to the error.Cause
- the root exception/cause.Method Detail |
public void printStackTrace(java.io.PrintStream PS)
printStackTrace
in class java.lang.Throwable
PS
- the print stream to print the trace to.public void printStackTrace(java.io.PrintWriter PW)
printStackTrace
in class java.lang.Throwable
PW
- the PrintWriter to print stuff to.public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public java.lang.Exception getRootCause()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |