public class Result<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns given Type if exception is null, else respective exception is thrown.
|
public T get() throws InvalidBucketNameException, IllegalArgumentException, NoSuchAlgorithmException, InsufficientDataException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, InvalidKeyException, XmlParserException, ErrorResponseException, InternalException
InvalidBucketNameExceptionIllegalArgumentExceptionNoSuchAlgorithmExceptionInsufficientDataExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionInvalidKeyExceptionXmlParserExceptionErrorResponseExceptionInternalException