aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/library/exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/org/ury/library/exceptions')
-rw-r--r--src/uk/org/ury/library/exceptions/EmptySearchException.java49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/uk/org/ury/library/exceptions/EmptySearchException.java b/src/uk/org/ury/library/exceptions/EmptySearchException.java
deleted file mode 100644
index 9b4691f..0000000
--- a/src/uk/org/ury/library/exceptions/EmptySearchException.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- *
- */
-package uk.org.ury.library.exceptions;
-
-/**
- * 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
- */
-
-public class EmptySearchException extends Exception
-{
-
- /**
- * Change this! ---v
- */
-
- private static final long serialVersionUID = -397479334359858162L;
-
-
- /**
- * Construct a new EmptySearchException with a
- * default reason.
- */
-
- public
- EmptySearchException ()
- {
- super ("Query string was empty.");
- }
-
-
- /**
- * Construct a new EmptySearchException.
- *
- * @param reason The explanation for the exception.
- */
-
- public
- EmptySearchException (String reason)
- {
- super (reason);
- }
-}