Class ServiceNotAssignedException

All Implemented Interfaces:
Serializable

public class ServiceNotAssignedException extends EntityAlreadyAssignedException
This exception is thrown when trying to remove service from resource but the service hasn't been assigned to the resource.
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • ServiceNotAssignedException

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

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

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

      public ServiceNotAssignedException(Service service)
      Constructor with the service
      Parameters:
      service - service that is not assigned to resource
  • Method Details

    • getService

      public Service getService()
      Getter for the service
      Returns:
      service that is not assigned to resource