com.pega.pegarules.pub.database
Class NoRuleVersionWithoutCircumstanceException

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.NoRuleVersionWithoutCircumstanceException
All Implemented Interfaces:
java.io.Serializable

public class NoRuleVersionWithoutCircumstanceException
extends DatabaseException

This exception is thrown during Rule Resolution if there is no default Rule version found. A default Rule version is one that is not qualified by a Circumstance, Circumstance Date, or date range.

If during Rule Resolution all the following are true, then this exception is thrown:

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
NoRuleVersionWithoutCircumstanceException(java.lang.String aInstanceClassName, java.lang.String aRuleName)
          Creates an exception.
 
Method Summary
 java.lang.String getInstanceClassName()
          Gets the instance class of the requested rule.
 java.lang.String getRuleName()
          Gets the name of the requested rule.
 
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

NoRuleVersionWithoutCircumstanceException

public NoRuleVersionWithoutCircumstanceException(java.lang.String aInstanceClassName,
                                                 java.lang.String aRuleName)
Creates an exception.

Parameters:
aInstanceClassName - instance class of the requested rule
aRuleName - name of the requested rule
Method Detail

getInstanceClassName

public java.lang.String getInstanceClassName()
Gets the instance class of the requested rule.

Returns:
the name of the instance class of the requested rule

getRuleName

public java.lang.String getRuleName()
Gets the name of the requested rule.

Returns:
the name of the requested rule


Copyright © 2012 Pegasystems Inc. All Rights Reserved.