Class FacilityExistsException

All Implemented Interfaces:
Serializable

public class FacilityExistsException extends EntityExistsException
This exception is thrown when trying to create/update a facility with a name that is already used
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • FacilityExistsException

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

      public FacilityExistsException(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
    • FacilityExistsException

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

      public FacilityExistsException(Facility facility)
      Constructor with the facility
      Parameters:
      facility - that already exists