@ThreadSafe public class SdkJsonErrorUnmarshaller extends JsonErrorUnmarshaller<SdkServiceException>
SdkServiceException
.exceptionClass
Constructor and Description |
---|
SdkJsonErrorUnmarshaller(Class<? extends SdkServiceException> exceptionClass,
Integer httpStatusCode) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(int actualHttpStatusCode) |
unmarshall
makeAccessible, newException
public SdkJsonErrorUnmarshaller(Class<? extends SdkServiceException> exceptionClass, Integer httpStatusCode)
exceptionClass
- Exception class this unmarshaller will attempt to deserialize error
response intohttpStatusCode
- HTTP status code associated with this modeled exception. A value of
null will match all http status codes.Copyright © 2018. All rights reserved.