|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sibvisions.rad.server.http.rest.service.RestServiceException
public class RestServiceException
The RestServiceException is the custom Exception for REST service calls.
| Constructor Summary | |
|---|---|
RestServiceException(int pStatus)
Creates a new instance of RestServiceException for the given status code. |
|
RestServiceException(int pStatus,
IBean pDetails)
Creates a new instance of RestServiceException for the given status code and details. |
|
| Method Summary | |
|---|---|
IBean |
getDetails()
Gets the details. |
int |
getStatus()
Gets the status 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 |
| Constructor Detail |
|---|
public RestServiceException(int pStatus)
RestServiceException for the given status code.
pStatus - the status code
public RestServiceException(int pStatus,
IBean pDetails)
RestServiceException for the given status code and details.
pStatus - the status codepDetails - additional error details| Method Detail |
|---|
public int getStatus()
public IBean getDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||