Package io.minio
Class Result<T>
java.lang.Object
io.minio.Result<T>
A container class keeps any type or an exception.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Result
-
Result
-
-
Method Details
-
get
public T get() throws ErrorResponseException, IllegalArgumentException, InsufficientDataException, InternalException, InvalidKeyException, InvalidResponseException, IOException, JsonMappingException, JsonParseException, NoSuchAlgorithmException, ServerException, XmlParserExceptionReturns given Type if exception is null, else respective exception is thrown.- Throws:
ErrorResponseExceptionIllegalArgumentExceptionInsufficientDataExceptionInternalExceptionInvalidKeyExceptionInvalidResponseExceptionIOExceptionJsonMappingExceptionJsonParseExceptionNoSuchAlgorithmExceptionServerExceptionXmlParserException
-