org.hibernate

Class AssertionFailure

Implemented Interfaces:
Nestable

public class AssertionFailure
extends NestableRuntimeException

Indicates failure of an assertion: a possible bug in Hibernate.
Author:
Gavin King

Field Summary

Fields inherited from class org.hibernate.exception.NestableRuntimeException

delegate

Constructor Summary

AssertionFailure(String s)
Constructs a new NestableRuntimeException with specified detail message.
AssertionFailure(String s, Throwable t)
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

AssertionFailure

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

AssertionFailure

public AssertionFailure(String s,
                        Throwable t)
Constructs a new NestableRuntimeException with specified detail message and nested Throwable.
Parameters: