suncertify.db
Class DuplicateKeyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--suncertify.db.DataBaseException
                    |
                    +--suncertify.db.DuplicateKeyException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateKeyException
extends DataBaseException

Exception class for signalization that duplicated primary key was supposed to be used

See Also:
Serialized Form

Constructor Summary
DuplicateKeyException()
          Empty contructor
DuplicateKeyException(java.lang.String message)
          One prameter contructor, with the message as param
DuplicateKeyException(java.lang.String message, java.lang.Throwable cause)
          Contructor for chaining exception throwing
DuplicateKeyException(java.lang.Throwable cause)
          Contructor for chaining exception throwing
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateKeyException

public DuplicateKeyException()
Empty contructor


DuplicateKeyException

public DuplicateKeyException(java.lang.String message)
One prameter contructor, with the message as param

Parameters:
message - exception message

DuplicateKeyException

public DuplicateKeyException(java.lang.String message,
                             java.lang.Throwable cause)
Contructor for chaining exception throwing

Parameters:
message - exception message
cause - exception cause

DuplicateKeyException

public DuplicateKeyException(java.lang.Throwable cause)
Contructor for chaining exception throwing

Parameters:
cause - exceptinon cause