AggregateException
, CommandException
, CompactSerializationException
, ConfigurationException
, GeneralFailureException
, InternalCommandException
, LicensingException
, LocalVerificationFailedException
, LockingException
, MaxClientReachedException
, NotSupportedException
, OperationFailedException
, OperationNotSupportedException
, SecurityException
, StreamAlreadyLockedException
, StreamException
, StreamNotFoundException
public class CacheException
extends java.lang.Exception
Constructor | Description |
---|---|
CacheException() |
Constructs an
CacheException with null
as its error detail message. |
CacheException(int errorCode) |
|
CacheException(int errorCode,
java.lang.String message) |
|
CacheException(int errorCode,
java.lang.String reason,
java.lang.String stackTrace) |
|
CacheException(int errorCode,
java.lang.String reason,
java.lang.Throwable cause) |
|
CacheException(java.lang.String s) |
Constructs an
CacheException with the specified detail
message. |
CacheException(java.lang.String message,
java.lang.Throwable cause) |
|
CacheException(java.lang.Throwable cause) |
Modifier and Type | Method | Description |
---|---|---|
int |
getErrorCode() |
|
void |
printStackTrace() |
|
void |
setErrorCode(int value) |
public CacheException()
CacheException
with null
as its error detail message.public CacheException(int errorCode)
public CacheException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
public CacheException(int errorCode, java.lang.String reason, java.lang.Throwable cause)
public CacheException(java.lang.String s)
CacheException
with the specified detail
message. The error message string s
can later be
retrieved by the Throwable.getMessage()
method of class java.lang.Throwable
.s
- the detail message.public CacheException(java.lang.Throwable cause)
public CacheException(java.lang.String message, java.lang.Throwable cause)
public CacheException(int errorCode, java.lang.String message)