Package net.sf.ehcache.search
Class SearchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.ehcache.CacheException
-
- net.sf.ehcache.search.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
Resultsinstance
- Author:
- teck
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchException(java.lang.String message)Construct a search exceptionSearchException(java.lang.String message, java.lang.Throwable cause)Construct a search exception with an underlying cause and messageSearchException(java.lang.Throwable cause)Construct a search exception with an underlying cause
-
-
-
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-
-
-