com.pega.pegarules.pub.database
Class IntegrityConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.pega.pegarules.pub.PRException
              extended by com.pega.pegarules.pub.database.DatabaseException
                  extended by com.pega.pegarules.pub.database.IntegrityConstraintViolationException
All Implemented Interfaces:
java.io.Serializable

public class IntegrityConstraintViolationException
extends DatabaseException

Indicates that the Integrity constraint violation is detected

Version:
$Revision: 21233 $ $Date: 2012-02-23 17:04:03 -0500 (Thu, 23 Feb 2012) $
Author:
Bhavna Balani
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
IntegrityConstraintViolationException(java.lang.Throwable aCause, int aSeverity, java.lang.String aDescr, java.lang.String aSQL, java.lang.String[] aSQLInserts)
          Creates an integrity constraint violation exception.
IntegrityConstraintViolationException(java.lang.Throwable aCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
          Creates an integrity constraint violation exception.
IntegrityConstraintViolationException(java.lang.Throwable aCause, java.lang.Throwable aSecCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
          Creates an integrity constraint violation exception.
 
Method Summary
 
Methods inherited from class com.pega.pegarules.pub.database.DatabaseException
getSQL, setSQL, setSQLInserts
 
Methods inherited from class com.pega.pegarules.pub.PRException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
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

IntegrityConstraintViolationException

public IntegrityConstraintViolationException(java.lang.Throwable aCause,
                                             int aSeverity,
                                             java.lang.String aDescr,
                                             java.lang.String aSQL,
                                             java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.

Parameters:
aCause - the exception that caused this exception
aSeverity - the severity of this exception: one of the ProcessingStatus SEVERITY constants
aDescr - what was going on when the problem occurred
aSQL - the SQL that was running when the problem occurred (or null if none)
aSQLInserts - the inserts for aSQL (or null if none)

IntegrityConstraintViolationException

public IntegrityConstraintViolationException(java.lang.Throwable aCause,
                                             java.lang.String aMsgID,
                                             java.lang.String[] aMsgInserts,
                                             int aSeverity,
                                             java.lang.String aSQL,
                                             java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.

Parameters:
aCause - the exception that caused this exception
aMsgID - the ID of the message to asociate with the exception
aMsgInserts - the inserts that go into aMsgID
aSeverity - the severity of this exception: one of the ProcessingStatus SEVERITY constants
aSQL - the SQL that was running when the problem occurred (or null if none)
aSQLInserts - the inserts for aSQL (or null if none)

IntegrityConstraintViolationException

public IntegrityConstraintViolationException(java.lang.Throwable aCause,
                                             java.lang.Throwable aSecCause,
                                             java.lang.String aMsgID,
                                             java.lang.String[] aMsgInserts,
                                             int aSeverity,
                                             java.lang.String aSQL,
                                             java.lang.String[] aSQLInserts)
Creates an integrity constraint violation exception.

Parameters:
aCause - the exception that caused this exception
aSecCause - a secondary exception that may have been obscured by the main one
aMsgID - the ID of the message to asociate with the exception
aMsgInserts - the inserts that go into aMsgID
aSeverity - the severity of this exception: one of the ProcessingStatus SEVERITY constants
aSQL - the SQL that was running when the problem occurred (or null if none)
aSQLInserts - the inserts for aSQL (or null if none)


Copyright © 2012 Pegasystems Inc. All Rights Reserved.