|
||||||||||
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.stefaniuk.json.service.JsonServiceException
public class JsonServiceException
JSON service exception.
Constructor Summary | |
---|---|
JsonServiceException(JsonServiceError error)
Constructor |
Method Summary | |
---|---|
int |
getCode()
Returns error code. |
JsonServiceError |
getError()
Returns error object. |
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 JsonServiceException(JsonServiceError error)
error
- Error objectMethod Detail |
---|
public int getCode()
public JsonServiceError getError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |