Package com.exasol.bucketfs
Class BucketAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.exasol.bucketfs.BucketAccessException
-
- All Implemented Interfaces:
Serializable
public class BucketAccessException extends Exception
Exception for problems when accessing buckets or their contents in Exasol's BucketFS.
-
-
Constructor Summary
Constructors Constructor Description BucketAccessException(String message)Create a new instance of aBucketAccessException.BucketAccessException(String message, int statusCode, URI uri)Create a new instance of aBucketAccessException.BucketAccessException(String message, Throwable cause)Create a new instance of aBucketAccessException.BucketAccessException(String message, URI uri, Throwable cause)Create a new instance of aBucketAccessException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStatusCode()URIgetUri()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BucketAccessException
public BucketAccessException(String message, URI uri, Throwable cause)
Create a new instance of aBucketAccessException.- Parameters:
message- error messageuri- URI that was attempted to accesscause- exception that caused this one
-
BucketAccessException
public BucketAccessException(String message, int statusCode, URI uri)
Create a new instance of aBucketAccessException.- Parameters:
message- error messagestatusCode- HTTP response codeuri- URI that was attempted to access
-
BucketAccessException
public BucketAccessException(String message, Throwable cause)
Create a new instance of aBucketAccessException.- Parameters:
message- error messagecause- exception that caused this one
-
BucketAccessException
public BucketAccessException(String message)
Create a new instance of aBucketAccessException.- Parameters:
message- error message
-
-
Method Detail
-
getUri
public URI getUri()
- Returns:
- URI that was tried to access
-
getStatusCode
public int getStatusCode()
- Returns:
- HTTP status code
-
-