public class ResourceException
extends java.lang.Exception
| Constructor and Description |
|---|
ResourceException(java.lang.Exception e)
Construct a
ResourceException from another exception. |
ResourceException(java.lang.String msg)
Construct a
ResourceException object with a message. |
ResourceException(java.lang.String res,
java.lang.String name)
Construct an exeception for a particular resource type.
|
ResourceException(java.lang.String res,
java.lang.String name,
java.lang.String msg)
Construct an exeception for a particular resource type.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
print(java.lang.Throwable e)
Print an exception object (helper method).
|
void |
printStackTrace()
Print stack trace to standard out.
|
void |
printStackTrace(java.io.PrintStream out)
Print stack trace to the given
java.io.PrintStream. |
void |
printStackTrace(java.io.PrintWriter out)
Print stack trace to the given
java.io.PrintWriter. |
public ResourceException(java.lang.Exception e)
ResourceException from another exception.e - java.lang.Exceptionpublic ResourceException(java.lang.String msg)
ResourceException object with a message.msg - Exception message Stringpublic ResourceException(java.lang.String res,
java.lang.String name)
res - String Resource typename - Resource identifierpublic ResourceException(java.lang.String res,
java.lang.String name,
java.lang.String msg)
res - String Resource typename - Resource identifiermsg - Error messagepublic static void print(java.lang.Throwable e)
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream out)
java.io.PrintStream.printStackTrace in class java.lang.Throwableout - java.io.PrintStream objectpublic void printStackTrace(java.io.PrintWriter out)
java.io.PrintWriter.printStackTrace in class java.lang.Throwableout - java.io.PrintWriter object