Unmarshaller<AmazonServiceException,T>
JsonErrorUnmarshaller
, LegacyErrorUnmarshaller
, StandardErrorUnmarshaller
public abstract class AbstractErrorUnmarshaller<T> extends Object implements Unmarshaller<AmazonServiceException,T>
Constructor | Description |
---|---|
AbstractErrorUnmarshaller() |
Constructs a new error unmarshaller that will unmarshall error responses
into AmazonServiceException objects.
|
AbstractErrorUnmarshaller(Class<? extends AmazonServiceException> exceptionClass) |
Constructs a new error unmarshaller that will unmarshall error responses
into objects of the specified class, extending AmazonServiceException.
|
public AbstractErrorUnmarshaller()
public AbstractErrorUnmarshaller(Class<? extends AmazonServiceException> exceptionClass)
exceptionClass
- The subclass of AmazonServiceException which will be
instantiated and populated by this class.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.