Class SearchException

All Implemented Interfaces:
Serializable

public class SearchException extends RuntimeException
A search exception is a RuntimeException that will be caught if it is thrown while a search is running. The exception's message will be used as the result message when the result of the search is returned.
Author:
Stephen G. Ware
See Also:
  • Constructor Details

    • SearchException

      public SearchException(String message, Throwable cause)
      Constructs a new search exception with a given message and cause.
      Parameters:
      message - the exception's message
      cause - another throwable that led to this exception
    • SearchException

      public SearchException(String message)
      Constructs a new search exception with a given message.
      Parameters:
      message - the exception's message