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.Exception
public ResourceException(java.lang.String msg)
ResourceException
object with a message.msg
- Exception message String
public 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.Throwable
public void printStackTrace(java.io.PrintStream out)
java.io.PrintStream
.printStackTrace
in class java.lang.Throwable
out
- java.io.PrintStream
objectpublic void printStackTrace(java.io.PrintWriter out)
java.io.PrintWriter
.printStackTrace
in class java.lang.Throwable
out
- java.io.PrintWriter
object