public class PRAppRuntimeException
extends java.lang.RuntimeException
throws
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
double |
getReason() |
java.lang.String |
getRuleSetName() |
java.lang.String |
toString()
Returns a (short) description of this throwable.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public PRAppRuntimeException(java.lang.String aRulesetName, double aReason, java.lang.String aMessage)
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()
).public PRAppRuntimeException(java.lang.String aRulesetName, double aReason, java.lang.String aMessage, java.lang.Throwable aCause)
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 exceptionpublic java.lang.String toString()
toString
in class java.lang.Throwable
public double getReason()
public java.lang.String getRuleSetName()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.