com.ibm.j2ca.base.exceptions
Class MultipleMatchingRecordsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
              extended bycom.ibm.j2ca.base.exceptions.MultipleMatchingRecordsException
All Implemented Interfaces:
java.io.Serializable

public class MultipleMatchingRecordsException
extends javax.resource.ResourceException

Thrown if more than one record matches the business object 'key' values specified for the given operation.

See Also:
Serialized Form

Constructor Summary
MultipleMatchingRecordsException(commonj.sdo.DataObject busObj, int matchCount)
           
 
Method Summary
 commonj.sdo.DataObject getBusinessObject()
           
 int getMatchCount()
           
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleMatchingRecordsException

public MultipleMatchingRecordsException(commonj.sdo.DataObject busObj,
                                        int matchCount)
Method Detail

getMatchCount

public int getMatchCount()

getBusinessObject

public commonj.sdo.DataObject getBusinessObject()