Class OwnerNotExistsException
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.OwnerNotExistsException
- All Implemented Interfaces:
Serializable
This exception is thrown when the owner does not exist in the database
- Author:
- Slavek Licehammer
- See Also:
-
Constructor Summary
ConstructorDescriptionOwnerNotExistsException
(Owner owner) Constructor with the ownerOwnerNotExistsException
(String message) Simple constructor with a messageOwnerNotExistsException
(String message, Throwable cause) Constructor with a message and Throwable objectOwnerNotExistsException
(Throwable cause) Constructor 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
-
OwnerNotExistsException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
OwnerNotExistsException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
OwnerNotExistsException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
OwnerNotExistsException
Constructor with the owner- Parameters:
owner
- owner that does not exist
-
-
Method Details
-
getOwner
Getter for the owner- Returns:
- owner that does not exist
-