Class RoleCannotBeSetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.RoleCannotBeSetException
- All Implemented Interfaces:
Serializable
This exception is thrown when it is not possible to set a given role.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoleCannotBeSetException
(String message) Simple constructor with a messageRoleCannotBeSetException
(String message, String role) Constructor with a message and the roleRoleCannotBeSetException
(String message, String role, Throwable cause) Constructor with a message, the role and a throwableRoleCannotBeSetException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable objectRoleCannotBeSetException
(Throwable cause, String role) Constructor with the role and a throwable -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RoleCannotBeSetException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
RoleCannotBeSetException
-
RoleCannotBeSetException
-
RoleCannotBeSetException
-
RoleCannotBeSetException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
RoleCannotBeSetException
-
-
Method Details
-
getRole
-