Class ServiceNotExistsException

All Implemented Interfaces:
Serializable

public class ServiceNotExistsException extends EntityNotExistsException
This exception is thrown when the service has not been found in the database
Author:
Martin Kuba
See Also:
  • Constructor Details

    • ServiceNotExistsException

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

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

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

      public ServiceNotExistsException(Service service)
      Constructor with the service
      Parameters:
      service - service that has not been found in the database
  • Method Details

    • getService

      public Service getService()
      Getter for the service
      Returns:
      service that has not been found in the database