public class JsonErrorUnmarshaller extends AbstractErrorUnmarshaller<JsonObject>
exceptionClass| Modifier | Constructor and Description |
|---|---|
|
JsonErrorUnmarshaller() |
protected |
JsonErrorUnmarshaller(java.lang.Class<? extends AuthServiceException> exceptionClass) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
parseErrorCode(JsonObject json) |
protected java.lang.String |
parseMessage(JsonObject json) |
protected java.lang.String |
parseRequestId(JsonObject json) |
protected java.lang.String |
parseType(JsonObject json) |
AuthServiceException |
unmarshall(JsonObject json) |
isParseJson, newException, parsepublic JsonErrorUnmarshaller()
protected JsonErrorUnmarshaller(java.lang.Class<? extends AuthServiceException> exceptionClass)
public AuthServiceException unmarshall(JsonObject json) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String parseMessage(JsonObject json) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String parseErrorCode(JsonObject json) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String parseRequestId(JsonObject json) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String parseType(JsonObject json) throws java.lang.Exception
java.lang.Exception