Class DestinationAlreadyAssignedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.DestinationAlreadyAssignedException
All Implemented Interfaces:
Serializable

public class DestinationAlreadyAssignedException extends PerunException
Exception is thrown when the destination has already been assigned to the facility and service.
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • DestinationAlreadyAssignedException

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

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

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

      public DestinationAlreadyAssignedException(Destination destination)
      Constructor with the destination
      Parameters:
      destination - destination which has already been assigned
  • Method Details

    • getDestination

      public Destination getDestination()
      Getter for the destination
      Returns:
      destination which has already been assigned