org.xwiki.security.authorization.cache
Class ConflictingInsertionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xwiki.security.authorization.cache.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: c826a90713a26cf5e4f8dda43bdbee757f0fc063 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConflictingInsertionException
public ConflictingInsertionException()
Copyright © 2004–2014 XWiki. All rights reserved.