Package javax.cache.processor
Class EntryProcessorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.cache.CacheException
javax.cache.processor.EntryProcessorException
- All Implemented Interfaces:
Serializable
An exception to indicate a problem occurred attempting to execute an
EntryProcessor
against an entry.
An implementation must wrap any Exception
thrown by an
EntryProcessor
in this exception.
- Since:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new CacheLoaderException.EntryProcessorException
(String message) Constructs a new CacheLoaderException with a message string.EntryProcessorException
(String message, Throwable cause) Constructs a CacheLoaderException with a message string, and a base exceptionEntryProcessorException
(Throwable cause) Constructs a new CacheLoaderException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (that typically contains the class and detail message of cause). -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EntryProcessorException
public EntryProcessorException()Constructs a new CacheLoaderException. -
EntryProcessorException
Constructs a new CacheLoaderException with a message string.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
EntryProcessorException
Constructs a CacheLoaderException with a message string, and a base exception- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause (that is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.0
-
EntryProcessorException
Constructs a new CacheLoaderException 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
- the cause (that is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 1.0
-