public class IntegrityConstraintViolationException extends DatabaseException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
mLookUpRuleMessages
Constructor and Description |
---|
IntegrityConstraintViolationException(java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.
|
IntegrityConstraintViolationException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.
|
IntegrityConstraintViolationException(java.lang.Throwable aCause,
java.lang.Throwable aSecCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOperation() |
void |
setOperation(java.lang.String aOperation) |
getDBName, getIndexesOfFailedBatchOperation, getMessage, getSQL, setDBName, setSQL, setSQLInserts
isLookUpRuleMessages, setLookUpRuleMessages, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public IntegrityConstraintViolationException(java.lang.Throwable aCause, int aSeverity, java.lang.String aDescr, java.lang.String aSQL, java.lang.String[] aSQLInserts)
aCause
- the exception that caused this exceptionaSeverity
- the severity of this exception: one of the
ProcessingStatus
SEVERITY
constantsaDescr
- what was going on when the problem occurredaSQL
- the SQL that was running when the problem occurred
(or null if none)aSQLInserts
- the inserts for aSQL
(or null if none)public IntegrityConstraintViolationException(java.lang.Throwable aCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
aCause
- the exception that caused this exceptionaMsgID
- the ID of the message to asociate with the exceptionaMsgInserts
- the inserts that go into aMsgID
aSeverity
- the severity of this exception: one of the
ProcessingStatus
SEVERITY
constantsaSQL
- the SQL that was running when the problem occurred
(or null if none)aSQLInserts
- the inserts for aSQL
(or null if none)public IntegrityConstraintViolationException(java.lang.Throwable aCause, java.lang.Throwable aSecCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
aCause
- the exception that caused this exceptionaSecCause
- a secondary exception that may have been obscured by the main oneaMsgID
- the ID of the message to asociate with the exceptionaMsgInserts
- the inserts that go into aMsgID
aSeverity
- the severity of this exception: one of the
ProcessingStatus
SEVERITY
constantsaSQL
- the SQL that was running when the problem occurred
(or null if none)aSQLInserts
- the inserts for aSQL
(or null if none)public void setOperation(java.lang.String aOperation)
setOperation
in class DatabaseException
public java.lang.String getOperation()
getOperation
in class DatabaseException
Copyright © 2018 Pegasystems Inc. All Rights Reserved.