Class EntityNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.vernite.vernite.common.exception.EntityNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when entity with given id is not found in database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityNotFoundException
(String entityName, long id) Default constructor forEntityNotFoundException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntityNotFoundException
Default constructor forEntityNotFoundException
.- Parameters:
entityName
- name of entity class that were not foundid
- id of entity which were not found
-