|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eaglei.repository.status.ErrorSendingException
public abstract class ErrorSendingException
Superclass for exceptions that get turned into HTTP status codes in the response by a servlet wrapper class. Since it is a subclass of RuntimeException, methods can throw without bothering to declare it. These are picked up by the RepositoryServlet.service() wrapper and, if possible, turned into status codes in the HTTP response.
| Constructor Summary | |
|---|---|
ErrorSendingException(java.lang.String message)
Constructor for ErrorSendingException. |
|
ErrorSendingException(java.lang.String message,
java.lang.Throwable cause)
Constructor for ErrorSendingException. |
|
ErrorSendingException(java.lang.Throwable cause)
Constructor for ErrorSendingException. |
|
| Method Summary | |
|---|---|
abstract int |
getStatus()
getStatus |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorSendingException(java.lang.String message)
Constructor for ErrorSendingException.
message - a String object.
public ErrorSendingException(java.lang.String message,
java.lang.Throwable cause)
Constructor for ErrorSendingException.
message - a String object.cause - a Throwable object.public ErrorSendingException(java.lang.Throwable cause)
Constructor for ErrorSendingException.
cause - a Throwable object.| Method Detail |
|---|
public abstract int getStatus()
getStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||