Class PolicyError

java.lang.Object
ch.tocco.nice2.security.api.PolicyError

public class PolicyError extends Object
Result object of a PolicyValidator. Contains the error message as well as the rule and permission which caused the error.
  • Constructor Details

  • Method Details

    • getRule

      public Rule getRule()
    • getPermission

      public Permission getPermission()
    • getErrorMessage

      public String getErrorMessage()
    • toString

      public String toString()
      Overrides:
      toString in class Object