com.pega.pegarules.pub.database
Class BadDatabaseDefinitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pega.pegarules.pub.PRException
com.pega.pegarules.pub.database.DatabaseException
com.pega.pegarules.pub.database.ConfigurationException
com.pega.pegarules.pub.database.BadDatabaseDefinitionException
- All Implemented Interfaces:
- java.io.Serializable
public class BadDatabaseDefinitionException
- extends ConfigurationException
Database configuration is invalid or missing.
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Jamie Gentry
- See Also:
- Serialized Form
Constructor Summary |
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. |
Method Summary |
java.lang.String |
getDBName()
Get the name of the missing database. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
BadDatabaseDefinitionException
public BadDatabaseDefinitionException(java.lang.String aDBName,
java.lang.String aDescr)
- Creates an exception that indicates that a particular database
definition is missing.
- Parameters:
aDBName
- the name of the databaseaDescr
- a description of the problem
BadDatabaseDefinitionException
public 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.
- Parameters:
aDBName
- the name of the databaseaBadConfigDescr
- a description of the bad configurationaDescr
- a description of the problem
BadDatabaseDefinitionException
public BadDatabaseDefinitionException(java.lang.String aDBName,
java.lang.String aBadConfigDescr,
java.lang.String aDescr,
int aSeverity)
- Creates an exception with a given severity.
- Parameters:
aDBName
- the name of the databaseaBadConfigDescr
- a description of the bad configurationaDescr
- what we were doing when we encountered the problemaSeverity
- the severity
getDBName
public java.lang.String getDBName()
- Get the name of the missing database.
- Returns:
- the name
Copyright © 2012 Pegasystems Inc. All Rights Reserved.