Class SearchException

    • Field Detail

      • SEARCH_EXCEPTION_AND_SUBCLASSES_CAN_USE_CONSTRUCTOR

        protected static final String SEARCH_EXCEPTION_AND_SUBCLASSES_CAN_USE_CONSTRUCTOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 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.