Package jakarta.nosql.mapping
Class EntityNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.nosql.NoSQLException
-
- jakarta.nosql.mapping.MappingException
-
- jakarta.nosql.mapping.EntityNotFoundException
-
- All Implemented Interfaces:
Serializable
public class EntityNotFoundException extends MappingException
Thrown by the persistence provider when an entity does not exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EntityNotFoundException()
Constructs a new EntityNotFoundException exception with null as its detail message.EntityNotFoundException(String message)
Constructs a new EntityNotFoundException exception with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EntityNotFoundException
public EntityNotFoundException(String message)
Constructs a new EntityNotFoundException exception with the specified detail message.- Parameters:
message
- the message
-
EntityNotFoundException
public EntityNotFoundException()
Constructs a new EntityNotFoundException exception with null as its detail message.
-
-