org.apache.ojb.broker
Class KeyConstraintViolatedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.commons.lang.exception.NestableRuntimeException
                  extended byorg.apache.ojb.broker.OJBRuntimeException
                      extended byorg.apache.ojb.broker.PersistenceBrokerException
                          extended byorg.apache.ojb.broker.KeyConstraintViolatedException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class KeyConstraintViolatedException
extends PersistenceBrokerException

Base class of all exceptions used in OJB.

Version:
$Id: OJBException.java,v 1.3 2002/09/30 16:55:49 mattbaird Exp $
Author:
Matthew Baird
See Also:
Serialized Form

Constructor Summary
KeyConstraintViolatedException()
          Constructor for KeyConstraintViolatedException.
KeyConstraintViolatedException(java.lang.String message)
          Constructor for KeyConstraintViolatedException.
KeyConstraintViolatedException(java.lang.String message, java.lang.Throwable cause)
          Constructor for KeyConstraintViolatedException.
KeyConstraintViolatedException(java.lang.Throwable cause)
          Constructor for KeyConstraintViolatedException.
 
Methods inherited from class org.apache.ojb.broker.PersistenceBrokerException
getSourceException
 
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyConstraintViolatedException

public KeyConstraintViolatedException()
Constructor for KeyConstraintViolatedException.


KeyConstraintViolatedException

public KeyConstraintViolatedException(java.lang.String message)
Constructor for KeyConstraintViolatedException.

Parameters:
message -

KeyConstraintViolatedException

public KeyConstraintViolatedException(java.lang.String message,
                                      java.lang.Throwable cause)
Constructor for KeyConstraintViolatedException.

Parameters:
message -
cause -

KeyConstraintViolatedException

public KeyConstraintViolatedException(java.lang.Throwable cause)
Constructor for KeyConstraintViolatedException.

Parameters:
cause -


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14