com.jpattern.orm.exception.sql
Class OrmSqlDataIntegrityViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.jpattern.orm.exception.OrmException
                  extended by com.jpattern.orm.exception.sql.OrmSqlException
                      extended by com.jpattern.orm.exception.sql.OrmSqlDataIntegrityViolationException
All Implemented Interfaces:
Serializable

public class OrmSqlDataIntegrityViolationException
extends OrmSqlException

Exception thrown when an attempt to insert or update data results in violation of an integrity constraint. Note that this is not purely a relational concept; unique primary keys are required by most database types.

Author:
cinafr
See Also:
Serialized Form

Constructor Summary
OrmSqlDataIntegrityViolationException(Exception e)
           
OrmSqlDataIntegrityViolationException(String message, Exception e)
           
 
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

OrmSqlDataIntegrityViolationException

public OrmSqlDataIntegrityViolationException(Exception e)

OrmSqlDataIntegrityViolationException

public OrmSqlDataIntegrityViolationException(String message,
                                             Exception e)


Copyright © 2013. All Rights Reserved.