public class ResourceException
extends java.lang.RuntimeException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
enclosedException_ |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
ResourceException()
Create an instance
|
|
ResourceException(java.lang.String message)
Create an instance
|
|
ResourceException(java.lang.Throwable throwable)
Create an instance
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getEnclosedException()
Return the enclosed exception
|
void |
printStackTrace(java.io.PrintStream stream)
Print the stack trace.
|
void |
printStackTrace(java.io.PrintWriter writer)
Print the stack trace.
|
private static final long serialVersionUID
private final java.lang.Throwable enclosedException_
public ResourceException(java.lang.String message)
message - The error messagepublic ResourceException(java.lang.Throwable throwable)
throwable - the error that caused this exceptionprotected ResourceException()
public java.lang.Throwable getEnclosedException()
public void printStackTrace(java.io.PrintWriter writer)
printStackTrace in class java.lang.Throwablewriter - Where the stack trace will be writtenpublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablestream - Where the stack trace will be written