Top Description Fields Constructors
org.hibernate

public Class AssertionFailure

extends RuntimeException
Class Inheritance
Imports
org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.jboss.logging.Logger

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

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
private static final long

Constructor Summary

AccessConstructor and Description
public
AssertionFailure(String
The message explaining the reason for the exception
message
)

Creates an instance of AssertionFailure using the given message.

public
AssertionFailure(String
The message explaining the reason for the exception
message
,
Throwable
The underlying cause.
cause
)

Creates an instance of AssertionFailure using the given message and underlying cause.

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

AssertionFailureback to summary
public AssertionFailure(String message)

Creates an instance of AssertionFailure using the given message.

Parameters
message:String

The message explaining the reason for the exception

AssertionFailureback to summary
public AssertionFailure(String message, Throwable cause)

Creates an instance of AssertionFailure using the given message and underlying cause.

Parameters
message:String

The message explaining the reason for the exception

cause:Throwable

The underlying cause.