Class EntityNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.vernite.vernite.common.exception.EntityNotFoundException
All Implemented Interfaces:
Serializable

public class EntityNotFoundException extends RuntimeException
Exception thrown when entity with given id is not found in database.
See Also:
  • Constructor Details

    • EntityNotFoundException

      public EntityNotFoundException(String entityName, long id)
      Default constructor for EntityNotFoundException.
      Parameters:
      entityName - name of entity class that were not found
      id - id of entity which were not found