Class ExtSourceExistsException
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.ExtSourceExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when creating an ExtSource which already exists
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionExtSourceExistsException
(ExtSource extSource) Constructor with the ExtSourceExtSourceExistsException
(String message) Simple constructor with a messageExtSourceExistsException
(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
-
ExtSourceExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ExtSourceExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ExtSourceExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ExtSourceExistsException
Constructor with the ExtSource- Parameters:
extSource
- extSource that already exists
-
-
Method Details
-
getExtSource
Getter for the ExtSource- Returns:
- extSource that already exists
-