ehcache

net.sf.ehcache.search
Class SearchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.search.SearchException
All Implemented Interfaces:
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):

Author:
teck
See Also:
Serialized Form

Constructor Summary
SearchException(String message)
          Construct a search exception
SearchException(String message, Throwable cause)
          Construct a search exception with an underlying cause and message
SearchException(Throwable cause)
          Construct a search exception with an underlying cause
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String message)
Construct a search exception

Parameters:
message -

SearchException

public SearchException(String message,
                       Throwable cause)
Construct a search exception with an underlying cause and message

Parameters:
message -
cause -

SearchException

public SearchException(Throwable cause)
Construct a search exception with an underlying cause

Parameters:
cause -

ehcache

Copyright 2001-2016, Terracotta, Inc.