Class HostExistsException

All Implemented Interfaces:
Serializable

public class HostExistsException extends EntityExistsException
This exception is to be thrown if host already exists in cluster.
Author:
Slavek Licehammer
See Also:
  • Constructor Details

    • HostExistsException

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

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

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

      public HostExistsException(Host host)
      Constructor with the host
      Parameters:
      host - the host that already exists
  • Method Details

    • getHost

      public Host getHost()
      Getter for the host
      Returns:
      the host that already exists