public class PRRuntimeException
extends java.lang.RuntimeException
throws
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PRRuntimeException()
Default constructor with no message.
|
PRRuntimeException(int aSeverity)
Constructor used to specify a severity.
|
PRRuntimeException(int aSeverity,
java.lang.String aMessageName,
java.lang.String aMessageParms)
Constructor with a severity, message name and message parameters.
|
PRRuntimeException(java.lang.String aMessage)
Constructor with a message.
|
PRRuntimeException(java.lang.String aMessage,
boolean aResolveRule)
Constructor with a message.
|
PRRuntimeException(java.lang.String aMessageName,
java.lang.String aMessageParms)
Constructor with a message name and message parameters.
|
PRRuntimeException(java.lang.String aMessageName,
java.lang.String aMessageParms,
java.lang.Throwable aCause)
Constructor with a message name and message parameters, and a root cause.
|
PRRuntimeException(java.lang.String aMessage,
java.lang.Throwable aCause)
Constructor with a message and a cause.
|
PRRuntimeException(java.lang.Throwable aCause)
Creates an exception that is caused by a particular
Throwable . |
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public PRRuntimeException()
public PRRuntimeException(java.lang.Throwable aCause)
Throwable
.aCause
- the Throwable
that caused this
exceptionpublic PRRuntimeException(int aSeverity)
aSeverity
- severity of this error. See
ProcessingStatus
for more options.public PRRuntimeException(java.lang.String aMessage)
aMessage
- 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 PRRuntimeException(java.lang.String aMessage, java.lang.Throwable aCause)
aCause
- the Throwable
that caused this 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 PRRuntimeException(java.lang.String aMessageName, java.lang.String aMessageParms)
aMessageName
- 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()
).aMessageParms
- parameters to the Rule-Message (may be null)public PRRuntimeException(int aSeverity, java.lang.String aMessageName, java.lang.String aMessageParms)
aSeverity
- severity of this error. See
ProcessingStatus
for more options.aMessageName
- 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()
).aMessageParms
- parameters to the Rule-Message (may be null)public PRRuntimeException(java.lang.String aMessageName, java.lang.String aMessageParms, java.lang.Throwable aCause)
aMessageName
- 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()
).aMessageParms
- parameters to the Rule-Message (may be null)aCause
- the exception which caused thispublic PRRuntimeException(java.lang.String aMessage, boolean aResolveRule)
aMessage
- key to a Rule-Message instance, or simplyaResolveRule
- boolean value to resolve the rule
a message. If it isn't a Rule-Message key, an instance may
be written to Log-UndefinedMessages
(see ProcessingStatus.logMissingMessages()
).Copyright © 2015 Pegasystems Inc. All Rights Reserved.