Class PrivilegeViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
overit.geocall.platform.grants.PrivilegeViolationException
All Implemented Interfaces:
Serializable

public class PrivilegeViolationException extends RuntimeException
Reports the result of privilege validation violations.
See Also:
  • Constructor Details

    • PrivilegeViolationException

      public PrivilegeViolationException(String message, @NotNull @NotNull PrivilegeViolation violation)
      Creates a privilege violation report.
      Parameters:
      message - error message
      violation - instance containing details about violation
    • PrivilegeViolationException

      public PrivilegeViolationException(@NotNull @NotNull PrivilegeViolation violation)
      Creates a privilege violation report.
      Parameters:
      violation - instance containing details about violation or null
  • Method Details

    • getViolation

      public PrivilegeViolation getViolation()
      Return the privilege violation reported during validation
      Returns:
      the privilege violation reported during validation