Class ServiceAlreadyAssignedException

All Implemented Interfaces:
Serializable

public class ServiceAlreadyAssignedException extends EntityAlreadyAssignedException
This exception is thrown when the service has already been assigned to the resource.
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • ServiceAlreadyAssignedException

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

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

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

      public ServiceAlreadyAssignedException(Service service)
      Constructor with the service
      Parameters:
      service - service that has already been assigned to the resource
  • Method Details

    • getService

      public Service getService()
      Getter for the service
      Returns:
      service that has already been assigned to the resource