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 SummaryConstructorsConstructorDescriptionFacilityExistsException(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 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- 
FacilityExistsExceptionSimple constructor with a message- Parameters:
- message- message with details about the cause
 
- 
FacilityExistsExceptionConstructor with a message and Throwable object- Parameters:
- message- message with details about the cause
- cause- Throwable that caused throwing of this exception
 
- 
FacilityExistsExceptionConstructor with a Throwable object- Parameters:
- cause- Throwable that caused throwing of this exception
 
- 
FacilityExistsExceptionConstructor with the facility- Parameters:
- facility- that already exists
 
 
-