Top Description Fields Constructors
javax.cache.event

public Class CacheEntryListenerException

extends CacheException
Class Inheritance
Imports
javax.cache.CacheException

An exception to indicate a problem has occurred with a listener. As listeners are only called after the cache has been mutated, the mutation to the cache is not affected.
Author
Greg Luck
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CacheEntryListenerException()

Constructs a new CacheEntryListenerException.

public
CacheEntryListenerException(String
the detail message. The detail message is saved for later retrieval by the getMessage() method.
message
)

Constructs a new CacheEntryListenerException with a message string.

public
CacheEntryListenerException(String
the detail message. The detail message is saved for later retrieval by the getMessage() method.
message
,
Throwable
the cause (that is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Constructs a CacheEntryListenerException with a message string, and a base exception

public
CacheEntryListenerException(Throwable
the cause (that is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Constructs a new CacheEntryListenerException with the specified cause and a detail message of (cause==null ?

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.cache.CacheException.serialVersionUID.

Constructor Detail

CacheEntryListenerExceptionback to summary
public CacheEntryListenerException()

Constructs a new CacheEntryListenerException.

CacheEntryListenerExceptionback to summary
public CacheEntryListenerException(String message)

Constructs a new CacheEntryListenerException with a message string.

Parameters
message:String

the detail message. The detail message is saved for later retrieval by the getMessage() method.

CacheEntryListenerExceptionback to summary
public CacheEntryListenerException(String message, Throwable cause)

Constructs a CacheEntryListenerException with a message string, and a base exception

Parameters
message:String

the detail message. The detail message is saved for later retrieval by the getMessage() method.

cause:Throwable

the cause (that is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Since
1.0
CacheEntryListenerExceptionback to summary
public CacheEntryListenerException(Throwable cause)

Constructs a new CacheEntryListenerException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause). This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters
cause:Throwable

the cause (that is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Since
1.0