Class CacheEntryListenerException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CacheEntryListenerException
    extends 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.
    Since:
    1.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheEntryListenerException()
      Constructs a new CacheEntryListenerException.
      CacheEntryListenerException​(java.lang.String message)
      Constructs a new CacheEntryListenerException with a message string.
      CacheEntryListenerException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a CacheEntryListenerException with a message string, and a base exception
      CacheEntryListenerException​(java.lang.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).
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CacheEntryListenerException

        public CacheEntryListenerException()
        Constructs a new CacheEntryListenerException.
      • CacheEntryListenerException

        public CacheEntryListenerException​(java.lang.String message)
        Constructs a new CacheEntryListenerException with a message string.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      • CacheEntryListenerException

        public CacheEntryListenerException​(java.lang.String message,
                                           java.lang.Throwable cause)
        Constructs a CacheEntryListenerException with a message string, and a base exception
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        cause - the cause (that is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        1.0
      • CacheEntryListenerException

        public CacheEntryListenerException​(java.lang.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 - the cause (that is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        1.0