Class ServicesPackageExistsException

All Implemented Interfaces:
Serializable

public class ServicesPackageExistsException extends EntityExistsException
This exception is thrown when trying to create servicePackage with a name that has already been used
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • ServicesPackageExistsException

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

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

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

      public ServicesPackageExistsException(ServicesPackage servicePackage)
      Constructor with the servicePackage
      Parameters:
      servicePackage - servicePackage that already exists
  • Method Details

    • getServicePackage

      public ServicesPackage getServicePackage()
      Getter for the servicePackage
      Returns:
      servicePackage that already exists