Class SecurityTeamAlreadyAssignedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityAlreadyAssignedException
cz.metacentrum.perun.core.api.exceptions.SecurityTeamAlreadyAssignedException
- All Implemented Interfaces:
Serializable
This exception is thrown when the security team is already assigned to facility
- Author:
- Ondrej Velisek invalid input: '<'ondrejvelisek@gmail.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionSecurityTeamAlreadyAssignedException
(SecurityTeam securityTeam) Constructor with the securityTeamSecurityTeamAlreadyAssignedException
(String message, SecurityTeam securityTeam) Simple constructor with a message and the securityTeamSecurityTeamAlreadyAssignedException
(String message, Throwable cause, SecurityTeam securityTeam) Constructor with a message, Throwable object and the securityTeamSecurityTeamAlreadyAssignedException
(Throwable cause, SecurityTeam securityTeam) Constructor with a Throwable object and the securityTeam -
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
-
SecurityTeamAlreadyAssignedException
Simple constructor with a message and the securityTeam- Parameters:
message
- message with details about the causesecurityTeam
- securityTeam that has already been assigned to the facility
-
SecurityTeamAlreadyAssignedException
public SecurityTeamAlreadyAssignedException(String message, Throwable cause, SecurityTeam securityTeam) Constructor with a message, Throwable object and the securityTeam- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exceptionsecurityTeam
- securityTeam that has already been assigned to the facility
-
SecurityTeamAlreadyAssignedException
Constructor with a Throwable object and the securityTeam- Parameters:
cause
- Throwable that caused throwing of this exceptionsecurityTeam
- securityTeam that has already been assigned to the facility
-
SecurityTeamAlreadyAssignedException
Constructor with the securityTeam- Parameters:
securityTeam
- securityTeam that has already been assigned to the facility
-
-
Method Details
-
getSecurityTeam
Getter for the securityTeam- Returns:
- securityTeam that has already been assigned to the facility
-