Class SecurityTeamAlreadyAssignedException

All Implemented Interfaces:
Serializable

public class SecurityTeamAlreadyAssignedException extends EntityAlreadyAssignedException
This exception is thrown when the security team is already assigned to facility
Author:
Ondrej Velisek <ondrejvelisek@gmail.com>
See Also:
  • Constructor Details

    • SecurityTeamAlreadyAssignedException

      public SecurityTeamAlreadyAssignedException(String message, SecurityTeam securityTeam)
      Simple constructor with a message and the securityTeam
      Parameters:
      message - message with details about the cause
      securityTeam - 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 cause
      cause - Throwable that caused throwing of this exception
      securityTeam - securityTeam that has already been assigned to the facility
    • SecurityTeamAlreadyAssignedException

      public SecurityTeamAlreadyAssignedException(Throwable cause, SecurityTeam securityTeam)
      Constructor with a Throwable object and the securityTeam
      Parameters:
      cause - Throwable that caused throwing of this exception
      securityTeam - securityTeam that has already been assigned to the facility
    • SecurityTeamAlreadyAssignedException

      public SecurityTeamAlreadyAssignedException(SecurityTeam securityTeam)
      Constructor with the securityTeam
      Parameters:
      securityTeam - securityTeam that has already been assigned to the facility
  • Method Details

    • getSecurityTeam

      public SecurityTeam getSecurityTeam()
      Getter for the securityTeam
      Returns:
      securityTeam that has already been assigned to the facility