@ThreadSafe public class SdkJsonErrorUnmarshaller extends JsonErrorUnmarshaller<SdkServiceException>
SdkServiceException.| Constructor and Description |
|---|
SdkJsonErrorUnmarshaller(Class<? extends SdkServiceException> exceptionClass,
Optional<Integer> httpStatusCode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(int actualHttpStatusCode) |
unmarshallpublic SdkJsonErrorUnmarshaller(Class<? extends SdkServiceException> exceptionClass, Optional<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 © 2017 Amazon Web Services, Inc. All Rights Reserved.