|
||||||||||
| 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.gcube.smartgears.handlers.application.request.RequestException
public class RequestException
Thrown for the occurrence of an error during request processing.
| Constructor Summary | |
|---|---|
RequestException(RequestError error)
Creates an instance with an underlying error. |
|
RequestException(RequestError error,
String message)
Creates an instance with an underling error and a custom message. |
|
RequestException(RequestError error,
Throwable cause)
Creates an instance with an underlying error and an underlying cause |
|
RequestException(RequestError error,
Throwable cause,
String message)
Creates an instance with an underlying error, an underlying cause, and an underlying message. |
|
| Method Summary | |
|---|---|
RequestError |
error()
Returns the underlying error. |
| 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 RequestException(RequestError error)
error - the error
public RequestException(RequestError error,
String message)
message - the messageerror - the error
public RequestException(RequestError error,
Throwable cause)
error - the errorcause - the cause;
public RequestException(RequestError error,
Throwable cause,
String message)
error - the errorcause - the cause;| Method Detail |
|---|
public RequestError error()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||