org.oreodata
Class DuplicateRecordException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.oreodata.DataException
                          |
                          +--org.oreodata.DuplicateRecordException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateRecordException
extends DataException

A DataException that indicates that there has been an attempt to insert a new record with a primary key that is already taken.

Author:
Paul Murphy
See Also:
Serialized Form

Constructor Summary
DuplicateRecordException()
           
DuplicateRecordException(Record rec, java.lang.String s)
           
DuplicateRecordException(java.lang.String s)
           
 
Methods inherited from class org.oreodata.DataException
getLocale, getLocalizedMessage, getNestedException, getRecord, setLocale, setRecord
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, 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

DuplicateRecordException

public DuplicateRecordException()

DuplicateRecordException

public DuplicateRecordException(java.lang.String s)

DuplicateRecordException

public DuplicateRecordException(Record rec,
                                java.lang.String s)