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 ErrorResponseException, IllegalArgumentException, InsufficientDataException, InternalException, InvalidKeyException, InvalidResponseException, IOException, com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.core.JsonParseException, NoSuchAlgorithmException, ServerException, XmlParserException
ErrorResponseExceptionIllegalArgumentExceptionInsufficientDataExceptionInternalExceptionInvalidKeyExceptionInvalidResponseExceptionIOExceptioncom.fasterxml.jackson.databind.JsonMappingExceptioncom.fasterxml.jackson.core.JsonParseExceptionNoSuchAlgorithmExceptionServerExceptionXmlParserException