org.makumba
Class NotUniqueError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.makumba.MakumbaError
              extended by org.makumba.DBError
                  extended by org.makumba.NotUniqueError
All Implemented Interfaces:
Serializable

public class NotUniqueError
extends DBError

An insert in a certain type has violated a unique constraint.
Note: this class has mostly been replaced by NotUniqueException in combination with CompositeValidationException, which has more or less the same functionality as this class used to have, but is ready for form annotation. This class is used onyl in SQLUpdate#execute(org.makumba.db.DBConnection, Object[]), usage there should also be stopped.

See Also:
Serialized Form

Constructor Summary
NotUniqueError(SQLException se)
           
 
Method Summary
 
Methods inherited from class org.makumba.MakumbaError
printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotUniqueError

public NotUniqueError(SQLException se)