com.pega.pegarules.pub.database
Class NoRuleVersionWithoutCircumstanceException
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.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:
- No acceptable Rule version was found
- Qualified Rule versions were found, but none of them
were a match
- No default Rule version was found
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Jamie Gentry
- See Also:
- Serialized Form
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 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
NoRuleVersionWithoutCircumstanceException
public NoRuleVersionWithoutCircumstanceException(java.lang.String aInstanceClassName,
java.lang.String aRuleName)
- Creates an exception.
- Parameters:
aInstanceClassName
- instance class of the requested ruleaRuleName
- name of the requested rule
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.