SalesPoint v3.3 API

data
Class DuplicateKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by data.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.
 
Method Summary
 
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 v3.3 API