@PublicApi public class ExternalCacheException extends RuntimeException
ExternalCache.| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalCacheException.Reason
The reasons for failure.
|
| Constructor and Description |
|---|
ExternalCacheException(ExternalCacheException.Reason reason)
Creates an instance for the specified reason.
|
ExternalCacheException(ExternalCacheException.Reason reason,
Throwable cause)
Creates an instance for the specified reason and cause.
|
| Modifier and Type | Method and Description |
|---|---|
ExternalCacheException.Reason |
getReason()
Returns the reason for failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ExternalCacheException(ExternalCacheException.Reason reason)
reason - the reason for the failurepublic ExternalCacheException(ExternalCacheException.Reason reason, Throwable cause)
reason - the reason for the failurecause - the cause of the failure@Nonnull public ExternalCacheException.Reason getReason()
Copyright © 2015 Atlassian. All rights reserved.