public class ConnectionException extends DatabaseException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
mLookUpRuleMessages| Constructor and Description |
|---|
ConnectionException(java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr,
java.lang.String aDBName,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates a connection exception.
|
ConnectionException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts,
java.lang.String aDBName)
Creates a connection exception.
|
ConnectionException(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,
java.lang.String aDBName)
Creates a connection exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDBName()
Returns the name of the database that had the error.
|
java.lang.String |
getHandler()
Returns the name of the error handler flow specified by the Rule-Connect-SQL instance.
|
void |
setHandler(java.lang.String aHandler)
Sets the name of the error handler flow specified by the Rule-Connect-SQL instance.
|
getSQL, setSQL, setSQLInsertsisLookUpRuleMessages, setLookUpRuleMessages, toStringpublic static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public ConnectionException(java.lang.Throwable aCause,
int aSeverity,
java.lang.String aDescr,
java.lang.String aDBName,
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 occurredaDBName - the database that had the problemaSQL - the SQL that was running when the problem occurred
(or null if none)aSQLInserts - the inserts for aSQL (or null if none)public ConnectionException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts,
java.lang.String aDBName)
aCause - the exception that caused this exceptionaMsgID - the ID of the message to asociate with the exceptionaMsgInserts - the inserts that go into aMsgIDaSeverity - 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)aDBName - the database that had the problempublic ConnectionException(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,
java.lang.String aDBName)
aCause - the exception that caused this exceptionaSecCause - aMsgID - the ID of the message to asociate with the exceptionaMsgInserts - the inserts that go into aMsgIDaSeverity - 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)aDBName - the database that had the problempublic java.lang.String getDBName()
public void setHandler(java.lang.String aHandler)
aHandler - the name of the handler flowpublic java.lang.String getHandler()
Copyright © 2014 Pegasystems Inc. All Rights Reserved.