Class ServicesPackageNotExistsException

All Implemented Interfaces:
Serializable

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

    • ServicesPackageNotExistsException

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

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

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

      public ServicesPackageNotExistsException(ServicesPackage servicesPackage)
      Constructor with the servicesPackage
      Parameters:
      servicesPackage - servicesPackage that doesn't exist in the database
  • Method Details

    • getServicesPackage

      public ServicesPackage getServicesPackage()
      Getter for the servicesPackage
      Returns:
      servicesPackage that doesn't exist in the database