Class NoSuchEntityException

All Implemented Interfaces:
Serializable

Exception thrown by repository when the query for a specific entity failed.
See Also:
  • Constructor Details

    • NoSuchEntityException

      public NoSuchEntityException(@Nonnull Object id)
      Create the exception
      Parameters:
      id - the id of the entity that was queried.
  • Method Details

    • getId

      @Nonnull public Object getId()
      Return the id of the entity that was not found.
      Returns:
      the id of the entity that was not found.
    • toString

      public String toString()
      Overrides:
      toString in class Throwable