Package overit.geocall.platform.grants
Class PrivilegeViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
overit.geocall.platform.grants.PrivilegeViolationException
- All Implemented Interfaces:
Serializable
Reports the result of privilege validation violations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPrivilegeViolationException(String message, @NotNull PrivilegeViolation violation) Creates a privilege violation report.Creates a privilege violation report. -
Method Summary
Modifier and TypeMethodDescriptionReturn the privilege violation reported during validationMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PrivilegeViolationException
Creates a privilege violation report.- Parameters:
message- error messageviolation- instance containing details about violation
-
PrivilegeViolationException
Creates a privilege violation report.- Parameters:
violation- instance containing details about violation or null
-
-
Method Details
-
getViolation
Return the privilege violation reported during validation- Returns:
- the privilege violation reported during validation
-