com.niggle.data
Class DuplicateRecordException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.niggle.data.DataException
                          |
                          +--com.niggle.data.DuplicateRecordException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateRecordException
extends DataException

Thrown when a client tries to add a record that already exists.

Author:
Paul Murphy
See Also:
Serialized Form

Constructor Summary
DuplicateRecordException()
          Constructs a DuplicateRecordException without a default message.
DuplicateRecordException(Record rec, java.lang.String s)
           
DuplicateRecordException(java.lang.String s)
          Constructs a DuplicateRecordException with a detail message.
 
Methods inherited from class com.niggle.data.DataException
getLocalizedMessage, getNestedException, getRecord, setRecord
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateRecordException

public DuplicateRecordException()
Constructs a DuplicateRecordException without a default message.

DuplicateRecordException

public DuplicateRecordException(java.lang.String s)
Constructs a DuplicateRecordException with a detail message.
Parameters:
s - the detail message string.

DuplicateRecordException

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