org.dasein.persist
Class DataIntegrityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dasein.persist.PersistenceException
              extended by org.dasein.persist.DataIntegrityException
All Implemented Interfaces:
Serializable

public class DataIntegrityException
extends PersistenceException

Thrown when some database request would result in violating integrity constraints. For example, an application that uses a last modified date to manage concurrent data management might throw this exception if the timestamp has been altered.

Last modified: $Date: 2005/08/15 16:15:59 $

Version:
$Revision: 1.3 $
Author:
George Reese
See Also:
Serialized Form

Constructor Summary
DataIntegrityException()
          Constructs a new exception without explanation.
DataIntegrityException(String msg)
          Constructs a new exception with the specified error message.
 
Method Summary
 
Methods inherited from class org.dasein.persist.PersistenceException
getRootCause
 
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

DataIntegrityException

public DataIntegrityException()
Constructs a new exception without explanation.


DataIntegrityException

public DataIntegrityException(String msg)
Constructs a new exception with the specified error message.

Parameters:
msg - a message indicating what happened.


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.