public class JsonServiceException extends Exception
JSON service exception.
| Constructor and Description |
|---|
JsonServiceException(JsonServiceError error)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns error code.
|
JsonServiceError |
getError()
Returns error object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JsonServiceException(JsonServiceError error)
error - Error objectpublic int getCode()
public JsonServiceError getError()
Copyright © 2016. All rights reserved.