org.hibernate

Class TransactionException

Implemented Interfaces:
Nestable

public class TransactionException
extends HibernateException

Indicates that a transaction could not be begun, committed or rolled back.
Author:
Anton van Straaten
See Also:
Transaction

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

TransactionException(String message)
Constructs a new NestableRuntimeException with specified detail message.
TransactionException(String message, Throwable root)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.

Method Summary

Methods inherited from class org.hibernate.exception.NestableRuntimeException

getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace

Constructor Details

TransactionException

public TransactionException(String message)
Constructs a new NestableRuntimeException with specified detail message.
Parameters:

TransactionException

public TransactionException(String message,
                            Throwable root)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
Parameters: