Package io.jmix.security.role
Class DuplicateRoleCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jmix.security.role.DuplicateRoleCodeException
- All Implemented Interfaces:
Serializable
Thrown when two roles of the same type (resource or row-level) share the same
code.
A role's code must be unique within its type across all sources (annotated design-time roles
and database runtime roles), otherwise role lookup by code becomes ambiguous.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateRoleCodeException
-
-
Method Details
-
getCode
-