com.pega.pegarules.pub.database
Class BadDatabaseDefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.pega.pegarules.pub.PRException
              extended by com.pega.pegarules.pub.database.DatabaseException
                  extended by com.pega.pegarules.pub.database.ConfigurationException
                      extended by 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

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
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 com.pega.pegarules.pub.database.ConfigurationException
createMissingColumnException
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Constructor Detail

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 database
aDescr - 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 database
aBadConfigDescr - a description of the bad configuration
aDescr - 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 database
aBadConfigDescr - a description of the bad configuration
aDescr - what we were doing when we encountered the problem
aSeverity - the severity
Method Detail

getDBName

public java.lang.String getDBName()
Get the name of the missing database.

Returns:
the name


Copyright © 2012 Pegasystems Inc. All Rights Reserved.