org.apache.ojb.broker
Class TransactionNotInProgressException

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.TransactionNotInProgressException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class TransactionNotInProgressException
extends PersistenceBrokerException

Is created when an action was tried that requires a transaction, and there was no transaction in progress.

Version:
$Id: TransactionNotInProgressException.java 365231 2005-12-21 22:22:08Z tomdz $
Author:
Thomas Mahler
See Also:
Serialized Form

Constructor Summary
TransactionNotInProgressException()
          Creates a new exception instance.
TransactionNotInProgressException(java.lang.String msg)
          Creates a new exception instance.
TransactionNotInProgressException(java.lang.String msg, java.lang.Throwable cause)
          Creates a new exception instance.
TransactionNotInProgressException(java.lang.Throwable cause)
          Creates a new exception instance.
 
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

TransactionNotInProgressException

public TransactionNotInProgressException()
Creates a new exception instance.


TransactionNotInProgressException

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

Parameters:
msg - The exception message

TransactionNotInProgressException

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

Parameters:
cause - The base exception

TransactionNotInProgressException

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

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


(C) 2002 - 2005 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