com.pega.pegarules.pub.database
Class MultipleInstancesWithKeyException

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.MultipleInstancesWithKeyException
All Implemented Interfaces:
java.io.Serializable

public final class MultipleInstancesWithKeyException
extends DatabaseException

Describes the problem where the Database Interface encounters more than one record when submitting a query to perform an "open."

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

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
MultipleInstancesWithKeyException(java.lang.Throwable aCause, java.lang.String aMsgID, java.lang.String[] aMsgInserts, int aSeverity, java.lang.String aSQL, java.lang.String[] aSQLInserts)
          Creates an exception with a given severity, and with other information.
 
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

MultipleInstancesWithKeyException

public MultipleInstancesWithKeyException(java.lang.Throwable aCause,
                                         java.lang.String aMsgID,
                                         java.lang.String[] aMsgInserts,
                                         int aSeverity,
                                         java.lang.String aSQL,
                                         java.lang.String[] aSQLInserts)
Creates an exception with a given severity, and with other information. Sets the runtime status to aMsgID.

Parameters:
aCause - the exception that caused this, or null if none
aMsgID - the message to report
aMsgInserts - the message inserts
aSeverity - the severity
aSQL - the SQL we were running when the problem occured, or null if none
aSQLInserts - the inserts for the SQL we were running, or null if none


Copyright © 2012 Pegasystems Inc. All Rights Reserved.