public class ConfigurationException extends DatabaseException
Rule-Obj-Class
,
Data-Admin-DB-Name
, or Data-Admin-DB-Table
).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
mLookUpRuleMessages
Constructor and Description |
---|
ConfigurationException(java.lang.String aMsg) |
ConfigurationException(java.lang.String aProblemDescr,
java.lang.String aDescr)
Creates a general configuration exception.
|
ConfigurationException(java.lang.String aProblemDescr,
java.lang.String aDescr,
int aSeverity)
Creates a general configuration exception with a specified severity.
|
ConfigurationException(java.lang.Throwable aCause,
java.lang.String aMsg) |
ConfigurationException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates a database exception with a
given severity, and with other information.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationException |
createMissingColumnException(java.lang.String aClass,
java.lang.String aTable,
java.lang.String aDB,
java.lang.String aColumn,
java.lang.String aDescr)
Creates an exception caused by a table that is missing a required column.
|
getSQL, setSQL, setSQLInserts
isLookUpRuleMessages, setLookUpRuleMessages, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public ConfigurationException(java.lang.String aMsg)
public ConfigurationException(java.lang.Throwable aCause, java.lang.String aMsg)
public ConfigurationException(java.lang.String aProblemDescr, java.lang.String aDescr)
Database-Config
.aProblemDescr
- a description of the problemaDescr
- what we were doing when the problem occuredpublic ConfigurationException(java.lang.String aProblemDescr, java.lang.String aDescr, int aSeverity)
Database-Config
.aProblemDescr
- a description of the problemaDescr
- what we were doing when the problem occuredaSeverity
- the severity--must be one of the severity constants
from ProcessingStatus
public ConfigurationException(java.lang.Throwable aCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
aMsgID
.aCause
- the exception that caused this, or null if noneaMsgID
- the message to reportaMsgInserts
- the message insertsaSeverity
- the severityaSQL
- the SQL we were running when the
problem occured, or null if noneaSQLInserts
- the inserts for the SQL we
were running, or null if nonepublic static ConfigurationException createMissingColumnException(java.lang.String aClass, java.lang.String aTable, java.lang.String aDB, java.lang.String aColumn, java.lang.String aDescr)
aClass
- the name of the class that is stored in the tableaTable
- the name of the tableaDB
- the name of the database that the table is stored in (its
Data-Admin-DB-Name
)aColumn
- the missing columnaDescr
- what we were doing when the problem occuredCopyright © 2015 Pegasystems Inc. All Rights Reserved.