org.apache.commons.mapper
Class UniqueFieldAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.mapper.MapperException
              extended by org.apache.commons.mapper.UniqueFieldAlreadyExistsException
All Implemented Interfaces:
Serializable

public class UniqueFieldAlreadyExistsException
extends MapperException

Indicates that a record was unable to be created in the datastore because a unique field would have duplicates. This could be a primary key or unique constraint in a database.

See Also:
Serialized Form

Constructor Summary
UniqueFieldAlreadyExistsException()
          Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(String description)
          Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(String description, Throwable cause)
          Constructor for UniqueFieldAlreadyExistsException.
UniqueFieldAlreadyExistsException(Throwable cause)
          Constructor for UniqueFieldAlreadyExistsException.
 
Method Summary
 
Methods inherited from class org.apache.commons.mapper.MapperException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

UniqueFieldAlreadyExistsException

public UniqueFieldAlreadyExistsException()
Constructor for UniqueFieldAlreadyExistsException.


UniqueFieldAlreadyExistsException

public UniqueFieldAlreadyExistsException(String description)
Constructor for UniqueFieldAlreadyExistsException.

Parameters:
description -

UniqueFieldAlreadyExistsException

public UniqueFieldAlreadyExistsException(String description,
                                         Throwable cause)
Constructor for UniqueFieldAlreadyExistsException.

Parameters:
description -
cause -

UniqueFieldAlreadyExistsException

public UniqueFieldAlreadyExistsException(Throwable cause)
Constructor for UniqueFieldAlreadyExistsException.

Parameters:
cause -


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.