Class FacilityMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.FacilityMismatchException
- All Implemented Interfaces:
Serializable
Exception thrown when wrong facility provided.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor with no argumentsFacilityMismatchException
(String message) Simple constructor with a messageFacilityMismatchException
(String message, Facility facility1, Facility facility2) FacilityMismatchException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor 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
-
FacilityMismatchException
public FacilityMismatchException()Constructor with no arguments -
FacilityMismatchException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
FacilityMismatchException
-
FacilityMismatchException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
FacilityMismatchException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
-
Method Details
-
getFacility1
-
getFacility2
-