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:
java.io.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(java.lang.String message, java.sql.SQLException root, java.lang.String constraintName)
ConstraintViolationException(java.lang.String message, java.sql.SQLException root, java.lang.String sql, java.lang.String constraintName)
-
Method Summary
-
Methods inherited from class org.hibernate.reactive.exception.VertxSqlClientException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, java.sql.SQLException root, java.lang.String constraintName)
-
ConstraintViolationException
public ConstraintViolationException(java.lang.String message, java.sql.SQLException root, java.lang.String sql, java.lang.String constraintName)
-
-