Package ch.tocco.nice2.security.spi
Class PermissionEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.tocco.nice2.security.spi.PermissionEvaluationException
- All Implemented Interfaces:
Serializable
Exception to be thrown if an error occurred during
Guard
's permission evaluation.
While an EvaluationException
containing the actual exception reason can be logged, it must never be thrown
to prevent propagation the internal reasons of the failed permission evaluation.
Therefore, this PermissionEvaluationException
can be thrown instead which only mentions the failed permission
evaluation.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PermissionEvaluationException
public PermissionEvaluationException()
-