Class ConflictingInsertionException

  • All Implemented Interfaces:
    Serializable

    public class ConflictingInsertionException
    extends Exception
    This exception is thrown if two or more parallel threads have attempted to load the cache with the same entry at the same time as a right was updated, so the resulting entries are different. When this happens, there must be a pending event waiting to be delivered, which will remove the offending entry from the cache. Thus, the appropriate action is to restart the attempt to load the cache when catching this, after the lock that blocks the event delivery has ben released and required.
    Since:
    4.0M2
    Version:
    $Id: 141c6477756363b64a196e5ea2b6834c738648e3 $
    See Also:
    Serialized Form
    • Constructor Detail

      • ConflictingInsertionException

        public ConflictingInsertionException()
        Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
      • ConflictingInsertionException

        public ConflictingInsertionException​(String message)
        Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        Since:
        12.5RC1, 11.10.6