org.hibernate.search.exception

## Class AssertionFailure

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.hibernate.search.exception.AssertionFailure

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    UnexpectedJsonElementTypeException

      public class AssertionFailure
      extends RuntimeException

  Indicates failure of an assertion: a possible bug in Hibernate Search.
  Author:
    Gavin King, Emmanuel Bernard
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AssertionFailure(String s)`
    `AssertionFailure(String s, Throwable t)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AssertionFailure

          public AssertionFailure(String s)

    - #### AssertionFailure

          public AssertionFailure(String s,
                                  Throwable t)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved