|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.liquidsite.app.servlet.RequestException
A request exception. This exception is thrown when a request couldn't be processed normally. This can be due to various causes, such as authentification failure, inexistent resource, or internal errors. No new instances are created of this exception, but the existing ones are thrown instead.
| Field Summary | |
static RequestException |
FORBIDDEN
The forbidden access request error. |
static RequestException |
INTERNAL_ERROR
The internal error constant. |
static RequestException |
RESOURCE_NOT_FOUND
The resource not found request error. |
static RequestException |
UNAUTHORIZED
The unauthorized access request error. |
| Method Summary | |
int |
getCode()
Returns the HTTP error code. |
| 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 |
| Field Detail |
public static final RequestException INTERNAL_ERROR
public static final RequestException UNAUTHORIZED
public static final RequestException FORBIDDEN
public static final RequestException RESOURCE_NOT_FOUND
| Method Detail |
public int getCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||