com.pega.pegarules.pub.database
Class BadCircumstanceDateFormat

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.pega.pegarules.pub.PRRuntimeException
                  extended by com.pega.pegarules.pub.database.BadCircumstanceDateFormat
All Implemented Interfaces:
java.io.Serializable

public final class BadCircumstanceDateFormat
extends PRRuntimeException

This exception is thrown when a Rule contains a bad Circumstance Date.

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
           
 
Method Summary
static BadCircumstanceDateFormat createBadCircumstanceDateException(java.lang.String aHandle, java.lang.String aVal, java.lang.String aDescr)
          Creates an exception due to a Rule containing a bad Circumstance Date.
static BadCircumstanceDateFormat createBadCircumstanceDatePropertyValueException(java.lang.String aHandle, java.lang.String aProperty, java.lang.String aVal, java.lang.String aDescr)
          Deprecated. the condition that prompts this exception is no longer considered an error--instead, if the value of the Circumstance Date property is bad, then Rule Resolution simply does not consider Date-Circumstance-qualified Rule versions
 java.lang.String getHandle()
          Return the handle of the Rule that contains the bad Circumstance Date, or the handle of the Rule that has the Circumstance Date Property that contains a bad date.
 java.lang.String getPropertyName()
          Deprecated. this is no longer applicable
 java.lang.String getPropertyVal()
          Returns the property value that is not a valid date.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
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
Method Detail

createBadCircumstanceDatePropertyValueException

public static BadCircumstanceDateFormat createBadCircumstanceDatePropertyValueException(java.lang.String aHandle,
                                                                                        java.lang.String aProperty,
                                                                                        java.lang.String aVal,
                                                                                        java.lang.String aDescr)
Deprecated. the condition that prompts this exception is no longer considered an error--instead, if the value of the Circumstance Date property is bad, then Rule Resolution simply does not consider Date-Circumstance-qualified Rule versions

Creates an exception due to a Circumstance Property containing a value that is not a date.

Parameters:
aHandle - the handle of the Rule that refers to the Circumstance Property
aProperty - the reference to the property
aVal - the value of the Circumstance Property
aDescr - a description of what was happening when the problem occurred
Returns:
the exception

createBadCircumstanceDateException

public static BadCircumstanceDateFormat createBadCircumstanceDateException(java.lang.String aHandle,
                                                                           java.lang.String aVal,
                                                                           java.lang.String aDescr)
Creates an exception due to a Rule containing a bad Circumstance Date.

Parameters:
aHandle - the handle of the Rule that contains the bad Circumstance Date
aVal - the bad Circumstance Date
aDescr - a description of what was happening when the problem occurred
Returns:
the exception

getHandle

public java.lang.String getHandle()
Return the handle of the Rule that contains the bad Circumstance Date, or the handle of the Rule that has the Circumstance Date Property that contains a bad date.

Returns:
the handle

getPropertyName

public java.lang.String getPropertyName()
Deprecated. this is no longer applicable

If this exception was thrown due to a bad Circumstance Property value, then this is the name of the property.

Returns:
a reference to the Bad Circumstance Date Property

getPropertyVal

public java.lang.String getPropertyVal()
Returns the property value that is not a valid date.

Returns:
the property value


Copyright © 2012 Pegasystems Inc. All Rights Reserved.