Class HostExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityExistsException
cz.metacentrum.perun.core.api.exceptions.HostExistsException
- All Implemented Interfaces:
- Serializable
This exception is to be thrown if host already exists in cluster.
- Author:
- Slavek Licehammer
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionHostExistsException(Host host) Constructor with the hostHostExistsException(String message) Simple constructor with a messageHostExistsException(String message, Throwable cause) Constructor with a message and Throwable objectHostExistsException(Throwable cause) Constructor with a Throwable object
- 
Method SummaryMethods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunExceptiongetErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorIdMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
HostExistsExceptionSimple constructor with a message- Parameters:
- message- message with details about the cause
 
- 
HostExistsExceptionConstructor with a message and Throwable object- Parameters:
- message- message with details about the cause
- cause- Throwable that caused throwing of this exception
 
- 
HostExistsExceptionConstructor with a Throwable object- Parameters:
- cause- Throwable that caused throwing of this exception
 
- 
HostExistsExceptionConstructor with the host- Parameters:
- host- the host that already exists
 
 
- 
- 
Method Details- 
getHostGetter for the host- Returns:
- the host that already exists
 
 
-