com.pega.pegarules.pub
Class PRAppRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pega.pegarules.pub.PRAppRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
public class PRAppRuntimeException
- extends java.lang.RuntimeException
Basic runtime exception used by Non PegaRULES classes. Exceptions of this
nature do not have to be declared with throws
.
- Version:
- $Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
- Author:
- Gabe Ernst-Edwards
- See Also:
- Serialized Form
Constructor Summary |
PRAppRuntimeException(java.lang.String aRulesetName,
double aReason,
java.lang.String aMessage)
Constructor with a message and a cause. |
PRAppRuntimeException(java.lang.String aRulesetName,
double aReason,
java.lang.String aMessage,
java.lang.Throwable aCause)
Constructor with a message and a cause. |
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
PRAppRuntimeException
public PRAppRuntimeException(java.lang.String aRulesetName,
double aReason,
java.lang.String aMessage)
- Constructor with a message and a cause. The severity of this exception
defaults to ProcessingStatus.SEVERITY_FAIL.
- Parameters:
aRulesetName
- the Ruleset that had the event that caused this exceptionaReason
- a numeric value indicating the nature of the exceptionaMessage
- key to a Rule-Message
instance, or simply
a message. If it isn't a Rule-Message
key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()
).
PRAppRuntimeException
public PRAppRuntimeException(java.lang.String aRulesetName,
double aReason,
java.lang.String aMessage,
java.lang.Throwable aCause)
- Constructor with a message and a cause. The severity of this exception
defaults to ProcessingStatus.SEVERITY_FAIL.
- Parameters:
aRulesetName
- the Ruleset that had the event that caused this exceptionaReason
- a numeric value indicating the nature of the exceptionaMessage
- key to a Rule-Message
instance, or simply
a message. If it isn't a Rule-Message
key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()
).aCause
- the Throwable
that caused this exception
toString
public java.lang.String toString()
- Returns a (short) description of this throwable.
(used by Throwable.printStackTrace to describe the exception)
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- a string representation of this throwable.
getReason
public double getReason()
getRuleSetName
public java.lang.String getRuleSetName()
Copyright © 2012 Pegasystems Inc. All Rights Reserved.