Class ServicesPackageNotExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.EntityNotExistsException
cz.metacentrum.perun.core.api.exceptions.ServicesPackageNotExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when the servicePackage has not been found in the database
- Author:
- Martin Kuba
- See Also:
-
Constructor Summary
ConstructorDescriptionServicesPackageNotExistsException
(ServicesPackage servicesPackage) Constructor with the servicesPackageServicesPackageNotExistsException
(String message) Simple constructor with a messageServicesPackageNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable object -
Method Summary
Modifier and TypeMethodDescriptionGetter for the servicesPackageMethods 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
-
ServicesPackageNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
ServicesPackageNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
ServicesPackageNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
ServicesPackageNotExistsException
Constructor with the servicesPackage- Parameters:
servicesPackage
- servicesPackage that doesn't exist in the database
-
-
Method Details
-
getServicesPackage
Getter for the servicesPackage- Returns:
- servicesPackage that doesn't exist in the database
-