|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.jms.net.connector.ResourceException
public class ResourceException
General exception class
Constructor Summary | |
---|---|
ResourceException()
Construct a new ResourceException |
|
ResourceException(java.lang.String detail)
Construct a new ResourceException with no target exception |
|
ResourceException(java.lang.String detail,
java.lang.Throwable target)
Construct a new ResourceException with a detail message and
target exception |
|
ResourceException(java.lang.Throwable target)
Construct a new ResourceException with a target exception |
Method Summary | |
---|---|
java.lang.Throwable |
getTargetException()
Get the thrown target exception |
void |
printStackTrace(java.io.PrintStream stream)
Writes the stack trace of the thrown target exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter writer)
Writes the stack trace of the thrown target exception to the specified print writer. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceException()
ResourceException
public ResourceException(java.lang.String detail)
ResourceException
with no target exception
detail
- the detail messagepublic ResourceException(java.lang.Throwable target)
ResourceException
with a target exception
target
- the target exceptionpublic ResourceException(java.lang.String detail, java.lang.Throwable target)
ResourceException
with a detail message and
target exception
detail
- the detail messagetarget
- the target exceptionMethod Detail |
---|
public java.lang.Throwable getTargetException()
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
stream
- the stream to write topublic void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in class java.lang.Throwable
writer
- the writer to write to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |