public class BadDatabaseDefinitionException extends ConfigurationException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
mLookUpRuleMessages
Constructor and Description |
---|
BadDatabaseDefinitionException(java.lang.String aDBName,
java.lang.String aDescr)
Creates an exception that indicates that a particular database
definition is missing.
|
BadDatabaseDefinitionException(java.lang.String aDBName,
java.lang.String aBadConfigDescr,
java.lang.String aDescr)
Creates an exception that indicates that there is a problem with
configuration for a particular database.
|
BadDatabaseDefinitionException(java.lang.String aDBName,
java.lang.String aBadConfigDescr,
java.lang.String aDescr,
int aSeverity)
Creates an exception with a given severity.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDBName()
Get the name of the missing database.
|
createMissingColumnException
getSQL, setSQL, setSQLInserts
isLookUpRuleMessages, setLookUpRuleMessages, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public BadDatabaseDefinitionException(java.lang.String aDBName, java.lang.String aDescr)
aDBName
- the name of the databaseaDescr
- a description of the problempublic BadDatabaseDefinitionException(java.lang.String aDBName, java.lang.String aBadConfigDescr, java.lang.String aDescr)
aDBName
- the name of the databaseaBadConfigDescr
- a description of the bad configurationaDescr
- a description of the problempublic BadDatabaseDefinitionException(java.lang.String aDBName, java.lang.String aBadConfigDescr, java.lang.String aDescr, int aSeverity)
aDBName
- the name of the databaseaBadConfigDescr
- a description of the bad configurationaDescr
- what we were doing when we encountered the problemaSeverity
- the severityCopyright © 2015 Pegasystems Inc. All Rights Reserved.