Package io.minio.errors
Class MinioException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.minio.errors.MinioException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BucketPolicyTooLargeException,ErrorResponseException,InsufficientDataException,InternalException,InvalidResponseException,ServerException,XmlParserException
Base Exception class for all minio-java exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMinioException(String message) Constructs a new MinioException with given error message.MinioException(String message, String httpTrace) Constructs a new MinioException with given error message.MinioException(String message, Throwable cause) Constructs a new MinioException with the specified detail message and cause.MinioException(Throwable cause) Constructs a new MinioException with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionvoidThrows encapsulated exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MinioException
Constructs a new MinioException with given error message. -
MinioException
Constructs a new MinioException with given error message. -
MinioException
Constructs a new MinioException with the specified detail message and cause. -
MinioException
Constructs a new MinioException with the specified cause.
-
-
Method Details
-
httpTrace
-
throwEncapsulatedException
public void throwEncapsulatedException() throws BucketPolicyTooLargeException, CertificateException, EOFException, ErrorResponseException, FileNotFoundException, GeneralSecurityException, InsufficientDataException, InternalException, InvalidKeyException, InvalidResponseException, IOException, com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.core.JsonProcessingException, KeyManagementException, KeyStoreException, MinioException, NoSuchAlgorithmException, ServerException, XmlParserExceptionThrows encapsulated exception.- Throws:
BucketPolicyTooLargeExceptionCertificateExceptionEOFExceptionErrorResponseExceptionFileNotFoundExceptionGeneralSecurityExceptionInsufficientDataExceptionInternalExceptionInvalidKeyExceptionInvalidResponseExceptionIOExceptioncom.fasterxml.jackson.databind.JsonMappingExceptioncom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionKeyManagementExceptionKeyStoreExceptionMinioExceptionNoSuchAlgorithmExceptionServerExceptionXmlParserException
-