org.apache.ojb.broker
Class PersistenceBrokerException

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
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable
Direct Known Subclasses:
ConversionException, KeyConstraintViolatedException, MetadataException, OptimisticLockException, PersistenceBrokerSQLException, TransactionAbortedException, TransactionInProgressException, TransactionNotInProgressException

public class PersistenceBrokerException
extends OJBRuntimeException

The Base Exception for all Exceptions that can happend within ObjectRelationalBridge.

Version:
$Id: PersistenceBrokerException.java,v 1.6 2002/09/25 14:39:35 arminw Exp $
Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
PersistenceBrokerException()
          PersistenceBrokerException constructor comment.
PersistenceBrokerException(java.lang.String message)
          Constructs a new PersistenceBrokerException with the specified detail message.
PersistenceBrokerException(java.lang.String message, java.lang.Throwable cause)
           
PersistenceBrokerException(java.lang.Throwable cause)
          PersistenceBrokerException constructor comment.
 
Method Summary
 java.lang.Throwable getSourceException()
          Gets the sourceException.
 
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

PersistenceBrokerException

public PersistenceBrokerException()
PersistenceBrokerException constructor comment.


PersistenceBrokerException

public PersistenceBrokerException(java.lang.String message)
Constructs a new PersistenceBrokerException with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the NestableRuntimeException.getMessage() method.

PersistenceBrokerException

public PersistenceBrokerException(java.lang.String message,
                                  java.lang.Throwable cause)

PersistenceBrokerException

public PersistenceBrokerException(java.lang.Throwable cause)
PersistenceBrokerException constructor comment.

Parameters:
cause - The cause of this Exception
Method Detail

getSourceException

public java.lang.Throwable getSourceException()
Gets the sourceException.

Returns:
Returns a Throwable


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