|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.util.jcache.CacheException
public class CacheException
An exception was caught or generated within the cache.
| Constructor Summary | |
|---|---|
CacheException()
Creates new CacheException without detail message. |
|
CacheException(Exception cause)
Constructs an CacheException with the specified detail
Exception. |
|
CacheException(String msg)
Constructs an CacheException with the specified detail
message. |
|
CacheException(String message,
Exception cause)
Constructs an CacheException with the specified detail
Exception and additional message. |
|
| Method Summary | |
|---|---|
Exception |
getBase()
Gets the wrapped exception |
String |
getLocalizedMessage()
|
String |
getMessage()
|
void |
printStackTrace()
prints the stacktrace for this Exception, and if an wrapped exception is in place, that stacktrace is also included. |
void |
setMessage(String message)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CacheException()
CacheException without detail message.
public CacheException(String message,
Exception cause)
CacheException with the specified detail
Exception and additional message.
message - the detail message.cause - the detail exception.public CacheException(Exception cause)
CacheException with the specified detail
Exception.
cause - the detail exception.public CacheException(String msg)
CacheException with the specified detail
message.
msg - the detail message.| Method Detail |
|---|
public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class Throwablepublic final void printStackTrace()
printStackTrace in class ThrowableThrowable.printStackTrace()public final Exception getBase()
public void setMessage(String message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||