|
||||||||||
| 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
org.eaglei.repository.status.HttpStatusException
public class HttpStatusException
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 | |
|---|---|
HttpStatusException(int status,
java.lang.String message)
Constructor for HttpStatusException. |
|
| Method Summary | |
|---|---|
int |
getStatus()
Getter for the field status. |
| 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 HttpStatusException(int status,
java.lang.String message)
Constructor for HttpStatusException.
status - a int.message - a String object.| Method Detail |
|---|
public int getStatus()
Getter for the field status.
getStatus in class ErrorSendingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||