Class SearchException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeanNotFoundException, ClassLoadingException, SearchTimeoutException

public class SearchException extends RuntimeException
See Also:
  • Field Details

    • SEARCH_EXCEPTION_AND_SUBCLASSES_CAN_USE_CONSTRUCTOR

      protected static final String SEARCH_EXCEPTION_AND_SUBCLASSES_CAN_USE_CONSTRUCTOR
      See Also:
  • Constructor Details

    • SearchException

      public SearchException(String message, Throwable cause)
    • 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

      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.