Package io.github.marcopaglio.booking.exception
package io.github.marcopaglio.booking.exception
Provides some meaningful custom exceptions for using by methods at any level.
-
ClassDescriptionThrown when there is a failure in querying the database.Thrown when you try to create or insert an already existing entity in the repository.Thrown when you try to update or remove an entity that does not exist in the repository.Thrown when you try to insert an entity that violates not-null constraints in the repository.Thrown when a generic database transaction fails.Thrown when you try to insert an entity that violates uniqueness constraints in the repository.Thrown when you try to update an entity that does not exist in the repository.