com.pega.pegarules.pub.context
Class PRSecurityException

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

public class PRSecurityException
extends PRRuntimeError

Exception thrown by classes implementing PRAuthentication and PRAuthorization interfaces when a method of these classes fails because of invalid input parameters or when being invoked from invalid Activity class (the PRAuthentication and PRAutorization methods may be called only from Activities of or derived from the Code-Security class

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

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
PRSecurityException()
          Constructor for PRSecurityException
PRSecurityException(java.lang.String aMessage)
           
PRSecurityException(java.lang.String aMessage, java.lang.Throwable aCause)
          Creates a security exception with a message and a cause.
 
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

PRSecurityException

public PRSecurityException()
Constructor for PRSecurityException


PRSecurityException

public PRSecurityException(java.lang.String aMessage)

PRSecurityException

public PRSecurityException(java.lang.String aMessage,
                           java.lang.Throwable aCause)
Creates a security exception with a message and a cause. The severity of this exception is 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()).


Copyright © 2012 Pegasystems Inc. All Rights Reserved.