Class CircularRoleHierarchyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.molgenis.util.exception.CodedRuntimeException
-
- org.molgenis.util.exception.BadRequestException
-
- org.molgenis.data.security.exception.CircularRoleHierarchyException
-
- All Implemented Interfaces:
Serializable,org.molgenis.util.exception.ErrorCoded
public class CircularRoleHierarchyException extends org.molgenis.util.exception.BadRequestExceptionThrown when the 'includes' field of a Role contains a circular Role hierarchy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CircularRoleHierarchyException(Role role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object[]getLocalizedMessageArguments()StringgetMessage()-
Methods inherited from class org.molgenis.util.exception.CodedRuntimeException
getErrorCode, getLocalizedMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CircularRoleHierarchyException
public CircularRoleHierarchyException(Role role)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getLocalizedMessageArguments
protected Object[] getLocalizedMessageArguments()
- Specified by:
getLocalizedMessageArgumentsin classorg.molgenis.util.exception.CodedRuntimeException
-
-