Class DataIntegrityViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.data.exceptions.DataAccessException
io.micronaut.data.exceptions.DataIntegrityViolationException
- All Implemented Interfaces:
Serializable
Exception thrown when a database operation fails due to a data integrity constraint.
- Since:
- 5.2
- Author:
- radovanradic
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataIntegrityViolationException(String message) DataIntegrityViolationException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataIntegrityViolationException
- Parameters:
message- The message
-
DataIntegrityViolationException
-