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
public class SearchException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventContext
context()
String
messageWithoutContext()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SearchException
public SearchException(String message)
-
SearchException
public SearchException(Throwable cause)
-
SearchException
public SearchException(String message, Throwable cause, EventContext context)
-
SearchException
public SearchException(String message, EventContext context)
-
SearchException
public SearchException(Throwable cause, EventContext context)
-
-
Method Detail
-
messageWithoutContext
public String messageWithoutContext()
- Returns:
- The exception message, without the description of the context.
-
context
public EventContext context()
- Returns:
- The context in which this exception occurred.
-
-