com.pega.pegarules.pub
Class PRInterruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by com.pega.pegarules.pub.PRInterruptedException
All Implemented Interfaces:
java.io.Serializable

public class PRInterruptedException
extends java.lang.Error

Runtime exception used by PegaRULES classes to encapsulate InterruptedException. This permits propagation of InterruptedException without declarations of a throws clause on every method. Explicitly NOT extending PRRuntimeException to avoid "easy" catch using "brain-dead" coding techniques.

Version:
$Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
Author:
Gabe Ernst-Edwards
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
PRInterruptedException()
          Default constructor with no message.
PRInterruptedException(int aSeverity)
          Constructor used to specify a severity.
PRInterruptedException(int aSeverity, java.lang.String aMessageName, java.lang.String aMessageParms)
          Constructor with a severity, message name and message parameters.
PRInterruptedException(int aSeverity, java.lang.String aMessageName, java.lang.String aMessageParms, java.lang.Throwable aCause)
          Constructor with a severity, message name, message parameters and cause.
PRInterruptedException(int aSeverity, java.lang.Throwable aCause)
          Constructor used to specify a severity and cause.
PRInterruptedException(java.lang.String aMessage)
          Constructor with a message.
PRInterruptedException(java.lang.String aMessageName, java.lang.String aMessageParms)
          Constructor with a message name and message parameters.
PRInterruptedException(java.lang.String aMessageName, java.lang.String aMessageParms, java.lang.Throwable aCause)
          Constructor with a message name, message parameters and cause.
PRInterruptedException(java.lang.String aMessage, java.lang.Throwable aCause)
          Constructor with a message and cause.
PRInterruptedException(java.lang.Throwable aCause)
          Construct a wrapper for the causing exception.
 
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

PRInterruptedException

public PRInterruptedException()
Default constructor with no message.


PRInterruptedException

public PRInterruptedException(java.lang.Throwable aCause)
Construct a wrapper for the causing exception.

Parameters:
aCause - Throwable causing this exception

PRInterruptedException

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

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

PRInterruptedException

public PRInterruptedException(int aSeverity,
                              java.lang.Throwable aCause)
Constructor used to specify a severity and cause.

Parameters:
aSeverity - severity of this error. See ProcessingStatus for more options.
aCause - Throwable causing this exception

PRInterruptedException

public PRInterruptedException(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()).

PRInterruptedException

public PRInterruptedException(java.lang.String aMessage,
                              java.lang.Throwable aCause)
Constructor with a message and cause. 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()).
aCause - Throwable causing this exception

PRInterruptedException

public PRInterruptedException(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)

PRInterruptedException

public PRInterruptedException(java.lang.String aMessageName,
                              java.lang.String aMessageParms,
                              java.lang.Throwable aCause)
Constructor with a message name, message parameters and cause. 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)
aCause - Throwable causing this exception

PRInterruptedException

public PRInterruptedException(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)

PRInterruptedException

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

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)
aCause - Throwable causing this exception


Copyright © 2012 Pegasystems Inc. All Rights Reserved.