Class PermissionEvaluationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.tocco.nice2.security.spi.PermissionEvaluationException
All Implemented Interfaces:
Serializable

public class PermissionEvaluationException extends RuntimeException
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 Details

    • PermissionEvaluationException

      public PermissionEvaluationException()