com.xefer.rebel
Class ResourceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.servlet.ServletException
|
+--com.xefer.rebel.ResourceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MethodNotAllowedException
- class ResourceException
- extends ServletException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
rootCause
Throwable rootCause
statusCode
int statusCode
ResourceException
public ResourceException(int statusCode,
String message)
ResourceException
public ResourceException(int statusCode,
String message,
Throwable rootCause)
ResourceException
public ResourceException(int statusCode,
Throwable rootCause)
ResourceException
public ResourceException(Throwable rootCause)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getMessage
public static String getMessage(Throwable cause)
getStatusCode
public int getStatusCode()
report
public void report(HttpServletResponse response)
throws IOException