java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.seasar.doma.DomaException
org.seasar.doma.jdbc.JdbcException
org.seasar.doma.jdbc.UniqueConstraintException
org.seasar.doma.jdbc.BatchUniqueConstraintException
- All Implemented Interfaces:
Serializable
Thrown to indicate that an unique constraint violation occurs in a batch processing.
UniqueConstraintException.getFormattedSql() returns null.
- See Also:
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.UniqueConstraintException
formattedSql, kind, rawSql, sqlFilePathFields inherited from class org.seasar.doma.DomaException
args, messageResource -
Constructor Summary
ConstructorsConstructorDescriptionBatchUniqueConstraintException(SqlLogType logType, Sql<?> sql, Throwable cause) BatchUniqueConstraintException(SqlLogType logType, SqlKind kind, String rawSql, String sqlFilePath, Throwable cause) -
Method Summary
Methods inherited from class org.seasar.doma.jdbc.UniqueConstraintException
getFormattedSql, getKind, getRawSql, getSqlFilePathMethods inherited from class org.seasar.doma.jdbc.JdbcException
choiceSqlMethods inherited from class org.seasar.doma.DomaException
getArgs, getMessageResourceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BatchUniqueConstraintException
-
BatchUniqueConstraintException
public BatchUniqueConstraintException(SqlLogType logType, SqlKind kind, String rawSql, String sqlFilePath, Throwable cause)
-