Package org.hibernate.search.util.common
Class SearchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.search.util.common.SearchException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BeanNotFoundException
,ClassLoadingException
,SearchTimeoutException
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSearchException
(String message) SearchException
(String message, Throwable cause) SearchException
(String message, Throwable cause, EventContext context) SearchException
(String message, EventContext context) SearchException
(Throwable cause) SearchException
(Throwable cause, EventContext context) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SEARCH_EXCEPTION_AND_SUBCLASSES_CAN_USE_CONSTRUCTOR
- See Also:
-
-
Constructor Details
-
SearchException
-
SearchException
@SuppressForbiddenApis(reason="SearchException and its subclasses are allowed to use SearchException constructors without delegating to Jboss-Logging.") public SearchException(String message) -
SearchException
@SuppressForbiddenApis(reason="SearchException and its subclasses are allowed to use SearchException constructors without delegating to Jboss-Logging.") public SearchException(Throwable cause) -
SearchException
@SuppressForbiddenApis(reason="SearchException and its subclasses are allowed to use SearchException constructors without delegating to Jboss-Logging.") public SearchException(String message, Throwable cause, EventContext context) -
SearchException
@SuppressForbiddenApis(reason="SearchException and its subclasses are allowed to use SearchException constructors without delegating to Jboss-Logging.") public SearchException(String message, EventContext context) -
SearchException
@SuppressForbiddenApis(reason="SearchException and its subclasses are allowed to use SearchException constructors without delegating to Jboss-Logging.") public SearchException(Throwable cause, EventContext context)
-
-
Method Details
-
messageWithoutContext
- Returns:
- The exception message, without the description of the context.
-
context
- Returns:
- The context in which this exception occurred.
-