org.apache.ojb.broker
Class PersistenceBrokerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang.exception.NestableRuntimeException
org.apache.ojb.broker.OJBRuntimeException
org.apache.ojb.broker.PersistenceBrokerException
- All Implemented Interfaces:
- org.apache.commons.lang.exception.Nestable, java.io.Serializable
- Direct Known Subclasses:
- ConfigurationException, 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
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException |
delegate |
Fields inherited from class java.lang.RuntimeException |
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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