|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.pega.pegarules.pub.PRException
com.pega.pegarules.pub.database.DatabaseException
com.pega.pegarules.pub.database.ConnectionException
public class ConnectionException
This class and its subclasses represent database-related connectivity errors (as opposed to operational errors).
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.pega.pegarules.pub.database.DatabaseException |
|---|
getSQL, setSQL, setSQLInserts |
| Methods inherited from class com.pega.pegarules.pub.PRException |
|---|
toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
| Constructor Detail |
|---|
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 problem
public 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 problem| Method Detail |
|---|
public java.lang.String getDBName()
public void setHandler(java.lang.String aHandler)
aHandler - the name of the handler flowpublic java.lang.String getHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||