ch.elca.el4j.services.persistence.generic.sqlexceptiontranslator
Class DuplicatedValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by ch.elca.el4j.services.persistence.generic.sqlexceptiontranslator.DuplicatedValueException
All Implemented Interfaces:
Serializable

Deprecated. Spring data access exception will be used.

public class DuplicatedValueException
extends DataAccessException

This exception will be thrown when a value, which has to be unique, already exists.

Author:
Martin Zeltner (MZE)
See Also:
DataIntegrityViolationException, Serialized Form
File-location:
DuplicatedValueException
Last check-in date:
2009-08-04 14:25:40 +0200 (Di, 04. Aug 2009) by swismer for revision 3874

Constructor Summary
DuplicatedValueException(String message, SQLException e)
          Deprecated. Default constructor.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

DuplicatedValueException

public DuplicatedValueException(String message,
                                SQLException e)
Deprecated. 
Default constructor.

Parameters:
message - Is the exception message.
e - Is the received target exception.


Copyright © 2005-2011 ELCA. All Rights Reserved.