Class DestinationExistsException

All Implemented Interfaces:
Serializable

public class DestinationExistsException extends EntityExistsException
Exception is thrown when the destination already exists
Author:
Michal Prochazka
See Also:
  • Constructor Details

    • DestinationExistsException

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

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

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

      public DestinationExistsException(Destination destination)
      Constructor with the destination
      Parameters:
      destination - destination which already exists
  • Method Details

    • getDestination

      public Destination getDestination()
      Gets the destination for this instance.
      Returns:
      The destination