Class BanNotExistsException

All Implemented Interfaces:
Serializable

public class BanNotExistsException extends EntityNotExistsException
This exception is thrown when the ban on the facility/resource does not exist
Author:
Michal Stava <stavamichal@gmail.com>
See Also:
  • Constructor Details

    • BanNotExistsException

      public BanNotExistsException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • BanNotExistsException

      public BanNotExistsException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • BanNotExistsException

      public BanNotExistsException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • BanNotExistsException

      public BanNotExistsException(Ban ban)
      Constructor with ban that does not exist
      Parameters:
      ban -
  • Method Details

    • getBan

      public Ban getBan()
      Getter for the ban
      Returns:
      ban that does not exist
    • setBan

      public void setBan(Ban ban)
      Setter for the ban
      Parameters:
      ban - that does not exist