com.pega.pegarules.pub
Class PRRuntimeException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbandonProcessingException, AuthenticationRequiredException, BadCircumstanceDateFormat, ChainingException, ConnectorException, CryptographicException, DictionaryException, ExpressionException, FunctionInvocationException, InvalidIdentifierException, InvalidParameterException, InvalidReferenceException, InvalidValueException, JavaObjectSerializationException, JSPRuntimeException, LibraryFunctionNotFoundException, LightweightPropertyException, NestedCommitException, NoSuchReferenceException, PRDeclarePageInvalidAccessException, PRQueueException, ReadOnlyException, RequestorLockException, ServiceException, StalePropertyReferenceException, VirtualPropertyException, WrongModeException

public class PRRuntimeException
extends java.lang.RuntimeException

Basic runtime exception used by PegaRULES classes. Exceptions of this nature do not have to be declared with throws.

Version:
$Revision: 14515 $ $Date: 2011-09-23 11:35:56 -0400 (Fri, 23 Sep 2011) $
Author:
Gabe Ernst-Edwards
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
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 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.
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Constructor Detail

PRRuntimeException

public PRRuntimeException()
Default constructor with no message.


PRRuntimeException

public PRRuntimeException(java.lang.Throwable aCause)
Creates an exception that is caused by a particular Throwable.

Parameters:
aCause - the Throwable that caused this exception

PRRuntimeException

public PRRuntimeException(int aSeverity)
Constructor used to specify a severity.

Parameters:
aSeverity - severity of this error. See ProcessingStatus for more options.

PRRuntimeException

public PRRuntimeException(java.lang.String aMessage)
Constructor with a message. The severity of this exception defaults to ProcessingStatus.SEVERITY_FAIL.

Parameters:
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()).

PRRuntimeException

public PRRuntimeException(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:
aCause - the Throwable that caused this exception
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()).

PRRuntimeException

public PRRuntimeException(java.lang.String aMessageName,
                          java.lang.String aMessageParms)
Constructor with a message name and message parameters. The severity of this exception defaults to ProcessingStatus.SEVERITY_FAIL.

Parameters:
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)

PRRuntimeException

public PRRuntimeException(int aSeverity,
                          java.lang.String aMessageName,
                          java.lang.String aMessageParms)
Constructor with a severity, message name and message parameters.

Parameters:
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)

PRRuntimeException

public 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.

Parameters:
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 this


Copyright © 2012 Pegasystems Inc. All Rights Reserved.