Class HostNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.HostNotExistsException
- All Implemented Interfaces:
Serializable
This exception is to be thrown in case we
are unable to look up the host computer in the Perun system.
- Author:
- Michal Karm Babacek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHostNotExistsException
(Host host) Constructor with the hostHostNotExistsException
(String message) Simple constructor with a messageHostNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectHostNotExistsException
(Throwable cause) Constructor with a Throwable object -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.PerunException
getErrorId, getFriendlyMessageTemplate, getMessage, getName, setErrorId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HostNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
HostNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
HostNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
HostNotExistsException
Constructor with the host- Parameters:
host
- the host that doesn't exist
-
-
Method Details
-
getHost
Getter for the host- Returns:
- the host that doesn't exist
-