com.pega.pegarules.pub.database
Class MultipleCircumstancePropertiesException
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.MultipleCircumstancePropertiesException
- All Implemented Interfaces:
- java.io.Serializable
public class MultipleCircumstancePropertiesException
- extends DatabaseException
This exception is thrown when PegaRULES encounters more than one version of
a Rule with the same name, but different Circumstance (pyCircumstanceProp
) or Date
Circumstance (pyCircumstanceDateProp
) Properties.
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Jamie Gentry
- See Also:
- Serialized Form
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
MultipleCircumstancePropertiesException
public MultipleCircumstancePropertiesException(java.lang.String aProperty1,
java.lang.String aProperty2)
- Constructs an instance of the exception.
- Parameters:
aProperty1
- the first circumstance property foundaProperty2
- the second circumstance property found
createMultipleCircumstancePropertyException
public static MultipleCircumstancePropertiesException createMultipleCircumstancePropertyException(java.lang.String aInstanceClass,
java.lang.String aInstanceName,
java.lang.String aProperty1,
java.lang.String aProperty2)
- Create an exception indicating that we found more than one
Circumstance Property during Rule Resolution.
- Parameters:
aInstanceClass
- class of the requested instanceaInstanceName
- the requested instance nameaProperty1
- the first propertyaProperty2
- the second property
- Returns:
- exception
createMultipleCircumstanceDatePropertyException
public static MultipleCircumstancePropertiesException createMultipleCircumstanceDatePropertyException(java.lang.String aInstanceClass,
java.lang.String aInstanceName,
java.lang.String aProperty1,
java.lang.String aProperty2)
- Create an exception indicating that we found more than one
Circumstance Date Property during Rule Resolution.
- Parameters:
aInstanceClass
- class of the requested instanceaInstanceName
- the requested instance nameaProperty1
- the first propertyaProperty2
- the second property
- Returns:
- exception
getFirstProperty
public java.lang.String getFirstProperty()
- Gets the first property.
- Returns:
- the first property
getSecondProperty
public java.lang.String getSecondProperty()
- Gets the second property.
- Returns:
- the second property
Copyright © 2012 Pegasystems Inc. All Rights Reserved.