public class ConstraintViolationException extends StatementFailedException
EmpireException.ExceptionMessageFormatter| 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, messageFromSQLExceptionformatErrorMessage, getErrorParams, getErrorType, getMessageFormatter, setMessageFormatteraddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 StatementFailedExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.