SalesPoint Framework v3.1

data
Class DuplicateKeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bydata.DuplicateKeyException
All Implemented Interfaces:
Serializable

public class DuplicateKeyException
extends RuntimeException

Exception thrown when an attempt was made to add an item with a key that already existed in a container.

Since:
v0.5
Author:
Steffen Zschaler
See Also:
Serialized Form

Constructor Summary
DuplicateKeyException()
          Create a new DuplicateKeyException.
DuplicateKeyException(String sDetail)
          Create a new DuplicateKeyException with a detail message.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateKeyException

public DuplicateKeyException()
Create a new DuplicateKeyException.


DuplicateKeyException

public DuplicateKeyException(String sDetail)
Create a new DuplicateKeyException with a detail message.

Parameters:
sDetail - the detail message.

SalesPoint Framework v3.1