public class ResourceException extends RuntimeException
Modifier | Constructor and Description |
---|---|
protected |
ResourceException()
Create an instance
|
|
ResourceException(String message)
Create an instance
|
|
ResourceException(Throwable throwable)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getEnclosedException()
Return the enclosed exception
|
void |
printStackTrace(PrintStream stream)
Print the stack trace.
|
void |
printStackTrace(PrintWriter writer)
Print the stack trace.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public ResourceException(String message)
message
- The error messagepublic ResourceException(Throwable throwable)
throwable
- the error that caused this exceptionprotected ResourceException()
public Throwable getEnclosedException()
public void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- Where the stack trace will be writtenpublic void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- Where the stack trace will be writtenCopyright © 1998–2014 Gargoyle Software Inc.. All rights reserved.