|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
com.pega.pegarules.pub.PRRuntimeError
public class PRRuntimeError
Basic runtime exception used by PegaRULES classes. Exceptions of this
nature do not have to be declared with throws
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
Constructor Summary | |
---|---|
PRRuntimeError()
Default constructor with no message. |
|
PRRuntimeError(int aSeverity)
Constructor used to specify a severity. |
|
PRRuntimeError(int aSeverity,
java.lang.String aMessageName,
java.lang.String aMessageParms)
Constructor with a severity, message name and message parameters. |
|
PRRuntimeError(java.lang.String aMessage)
Constructor with a message. |
|
PRRuntimeError(java.lang.String aMessageName,
java.lang.String aMessageParms)
Constructor with a message name and message parameters. |
|
PRRuntimeError(java.lang.String aMessage,
java.lang.Throwable aCause)
Constructor with a message and a cause. |
|
PRRuntimeError(java.lang.Throwable aCause)
Creates an exception that is caused by a particular Throwable . |
Method Summary |
---|
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 |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
Constructor Detail |
---|
public PRRuntimeError()
public PRRuntimeError(java.lang.Throwable aCause)
Throwable
.
aCause
- the Throwable
that caused this
exceptionpublic PRRuntimeError(int aSeverity)
aSeverity
- severity of this error. See
ProcessingStatus
for more options.public PRRuntimeError(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 PRRuntimeError(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 PRRuntimeError(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 PRRuntimeError(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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |