org.apache.slide.search
Class BadQueryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.slide.common.SlideException
              extended byorg.apache.slide.search.SearchException
                  extended byorg.apache.slide.search.BadQueryException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadGatewayException, InvalidQueryException, InvalidScopeException

public class BadQueryException
extends SearchException

Generic search exception. Query could not be executed. The request may be malformed (not valid XML for example). Additionally, this can be used for invalid scopes and search redirections.

Version:
$Revision: 1.7 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.slide.search.SearchException
rootCause
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
BadQueryException(java.lang.String message)
          Constructor.
BadQueryException(java.lang.String message, java.lang.Throwable t)
          Constructor.
BadQueryException(java.lang.Throwable t)
          Constructor.
 
Methods inherited from class org.apache.slide.search.SearchException
getRootCause
 
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

BadQueryException

public BadQueryException(java.lang.String message)
Constructor.

Parameters:
message - Exception message

BadQueryException

public BadQueryException(java.lang.Throwable t)
Constructor.

Parameters:
t - root cause

BadQueryException

public BadQueryException(java.lang.String message,
                         java.lang.Throwable t)
Constructor.

Parameters:
message - Exception message
t - root cause