Class ServicesPackageExistsException
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.ServicesPackageExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to create servicePackage with a name that has already been used
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionServicesPackageExistsException
(ServicesPackage servicePackage) Constructor with the servicePackageServicesPackageExistsException
(String message) Simple constructor with a messageServicesPackageExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the servicePackageMethods 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
-
ServicesPackageExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ServicesPackageExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ServicesPackageExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ServicesPackageExistsException
Constructor with the servicePackage- Parameters:
servicePackage
- servicePackage that already exists
-
-
Method Details
-
getServicePackage
Getter for the servicePackage- Returns:
- servicePackage that already exists
-