public class StorageProviderException extends RuntimeException
Constructor and Description |
---|
StorageProviderException(Exception ex)
Constructor that accepts an arbitrary Exception.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getOriginalProviderException()
Method to obtain the original provider exception that led to this exception being thrown.
|
boolean |
isServiceException404()
Returns true if this is an exception corresponding to a HTTP 404 error returned by the storage
provider
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StorageProviderException(Exception ex)
ex
- An Exception to be treated as transient.public Exception getOriginalProviderException()
public boolean isServiceException404()
Copyright © 2021. All rights reserved.