org.apache.ojb.broker
Class OJBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.lang.exception.NestableException
              extended by org.apache.ojb.broker.OJBException
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.lang.exception.Nestable
Direct Known Subclasses:
DBException, LookupException, PlatformException, SequenceManagerException, TransactionManagerFactoryException

public class OJBException
extends org.apache.commons.lang.exception.NestableException

Base class of all checked exceptions used in OJB.

Version:
$Id: OJBException.java 365242 2005-12-22 21:15:36Z tomdz $
Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
OJBException()
          Creates a new exception instance.
OJBException(java.lang.String msg)
          Creates a new exception instance.
OJBException(java.lang.String msg, java.lang.Throwable cause)
          Creates a new exception instance.
OJBException(java.lang.Throwable cause)
          Creates a new exception instance.
 
Method Summary
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
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

OJBException

public OJBException()
Creates a new exception instance.


OJBException

public OJBException(java.lang.String msg)
Creates a new exception instance.

Parameters:
msg - The exception message

OJBException

public OJBException(java.lang.Throwable cause)
Creates a new exception instance.

Parameters:
cause - The base exception

OJBException

public OJBException(java.lang.String msg,
                    java.lang.Throwable cause)
Creates a new exception instance.

Parameters:
msg - The exception message
cause - The base exception


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30