uk.org.ury.library.exceptions
Class EmptySearchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.org.ury.library.exceptions.EmptySearchException
All Implemented Interfaces:
java.io.Serializable

public class EmptySearchException
extends java.lang.Exception

Exception thrown when a library search is initiated in which the query string is null. Frontends should handle this nicely. Do NOT treat this as a fatal error!

Author:
Matt Windsor
See Also:
Serialized Form

Constructor Summary
EmptySearchException()
          Construct a new EmptySearchException with a default reason.
EmptySearchException(java.lang.String reason)
          Construct a new EmptySearchException.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptySearchException

public EmptySearchException()
Construct a new EmptySearchException with a default reason.


EmptySearchException

public EmptySearchException(java.lang.String reason)
Construct a new EmptySearchException.

Parameters:
reason - The explanation for the exception.