Package org.hibernate

Class AssertionFailure

All Implemented Interfaces:
Serializable

public class AssertionFailure extends RuntimeException
Indicates failure of an assertion: a possible bug in Hibernate.
See Also:
  • Constructor Details

    • AssertionFailure

      public AssertionFailure(String message)
      Creates an instance of AssertionFailure using the given message.
      Parameters:
      message - The message explaining the reason for the exception
    • AssertionFailure

      public AssertionFailure(String message, Throwable cause)
      Creates an instance of AssertionFailure using the given message and underlying cause.
      Parameters:
      message - The message explaining the reason for the exception
      cause - The underlying cause.