Class FacilityExistsException
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.FacilityExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to create/update a facility with a name that is already used
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionFacilityExistsException
(Facility facility) Constructor with the facilityFacilityExistsException
(String message) Simple constructor with a messageFacilityExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectFacilityExistsException
(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
-
FacilityExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
FacilityExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
FacilityExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
FacilityExistsException
Constructor with the facility- Parameters:
facility
- that already exists
-