Package org.hibernate.reactive.exception
Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.reactive.exception.VertxSqlClientException
-
- org.hibernate.reactive.exception.ConstraintViolationException
-
- All Implemented Interfaces:
Serializable
public class ConstraintViolationException extends VertxSqlClientException
the requested DML operation resulted in a violation of a defined integrity constraint.- See Also:
ConstraintViolationException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException(String message, SQLException root, String constraintName)
ConstraintViolationException(String message, SQLException root, String sql, String constraintName)
-
Method Summary
-
Methods inherited from class org.hibernate.reactive.exception.VertxSqlClientException
getErrorCode, getSQL, getSQLException, getSQLState
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException(String message, SQLException root, String constraintName)
-
ConstraintViolationException
public ConstraintViolationException(String message, SQLException root, String sql, String constraintName)
-
-