Package io.micronaut.data.exceptions
Class DataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.data.exceptions.DataAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CosmosAccessException
,DataAccessResourceFailureException
,EmptyResultException
,NonUniqueResultException
,OptimisticLockException
,PersistenceEventException
Parent class for data access related exceptions that occur at runtime.
- Since:
- 1.0.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorDescriptionDataAccessException
(String message) Default constructor.DataAccessException
(String message, Throwable cause) Default constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataAccessException
Default constructor.- Parameters:
message
- The message
-
DataAccessException
Default constructor.- Parameters:
message
- The messagecause
- The cause
-