Class SearchException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AggregatorException, AttributeExtractorException, UnknownAttributeException

    public class SearchException
    extends CacheException
    A generic search exception. This exception (or a more specific subclass) will be thrown for a number of conditions including (but not limited to):
    • Type conflict for search attribute. For example a search attribute is of type "int" but the query criteria is for equals("some string")
    • IOException or timeout communicating with a remote server or performing disk I/O
    • Attempting to read from a discard()'d Results instance
    Author:
    teck
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchException​(java.lang.String message)
      Construct a search exception
      SearchException​(java.lang.String message, java.lang.Throwable cause)
      Construct a search exception with an underlying cause and message
      SearchException​(java.lang.Throwable cause)
      Construct a search exception with an underlying cause
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SearchException

        public SearchException​(java.lang.String message)
        Construct a search exception
        Parameters:
        message -
      • SearchException

        public SearchException​(java.lang.String message,
                               java.lang.Throwable cause)
        Construct a search exception with an underlying cause and message
        Parameters:
        message -
        cause -
      • SearchException

        public SearchException​(java.lang.Throwable cause)
        Construct a search exception with an underlying cause
        Parameters:
        cause -