Class ParentEntryEvictedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.security.authorization.cache.ParentEntryEvictedException
-
- All Implemented Interfaces:
Serializable
public class ParentEntryEvictedException extends Exception
All cache entries except wiki cache entries must have their parent cached, so theSecurityCacheLoader
must insert the entries, if missing in turn. There is a chance, though, that the cache will evict a parent entry of the entry that theSecurityCacheLoader
is about to insert. When this happens, this exception is thrown and the attempt to load the cache must be restarted.- Since:
- 4.0M2
- Version:
- $Id: 7cbc8c6561ab1c92ee1280264184ec706ca30bc9 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParentEntryEvictedException()
Constructs a new exception withnull
as its detail message.ParentEntryEvictedException(String message)
Constructs a new exception with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParentEntryEvictedException
public ParentEntryEvictedException()
Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.
-
ParentEntryEvictedException
public ParentEntryEvictedException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.- Since:
- 12.5RC1, 11.10.6
-
-