public class ConstraintViolationException extends StatementFailedException
Constructor and Description |
---|
ConstraintViolationException(DBMSHandler dbms,
String sqlCmd,
SQLException cause)
Constructor for ConstraintViolationException
|
Modifier and Type | Method and Description |
---|---|
protected void |
log()
log the error
|
getNativeErrorMessage, handlerFromObject, messageFromSQLException
formatErrorMessage, getErrorParams, getErrorType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final ErrorType errorType
public ConstraintViolationException(DBMSHandler dbms, String sqlCmd, SQLException cause)
dbms
- the DBMSsqlCmd
- the failed SQL commandcause
- the SQLExceptionprotected void log()
log
in class StatementFailedException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.