com.sun.labs.minion
Class SearchEngineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.labs.minion.SearchEngineException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QueryException

public class SearchEngineException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
SearchEngineException(java.lang.String s)
          Creates a search engine exception with the given message.
SearchEngineException(java.lang.String s, java.lang.Throwable cause)
          Creates a search engine exception that wraps another exception
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchEngineException

public SearchEngineException(java.lang.String s)
Creates a search engine exception with the given message.

Parameters:
s - a message indicating the cause of the exception

SearchEngineException

public SearchEngineException(java.lang.String s,
                             java.lang.Throwable cause)
Creates a search engine exception that wraps another exception

Parameters:
s - a message indicating the cause of the exception
cause - the original exception
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable