aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/database/exceptions/MissingCredentialsException.java
diff options
context:
space:
mode:
authorMatt Windsor <mattwindsor@btinternet.com>2011-03-21 21:54:31 +0000
committerMatt Windsor <mattwindsor@btinternet.com>2011-03-21 21:54:31 +0000
commitdf7d7981b56a4560c95ea7e9b194080e93398ecf (patch)
treeb3ae4f02d23ae1f7f4951c776ee8d91b0047dd6f /src/uk/org/ury/database/exceptions/MissingCredentialsException.java
parent2d073129857a42ab4195cd433c8be152e357033f (diff)
GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh.
Diffstat (limited to 'src/uk/org/ury/database/exceptions/MissingCredentialsException.java')
-rw-r--r--src/uk/org/ury/database/exceptions/MissingCredentialsException.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/uk/org/ury/database/exceptions/MissingCredentialsException.java b/src/uk/org/ury/database/exceptions/MissingCredentialsException.java
deleted file mode 100644
index 2e45526..0000000
--- a/src/uk/org/ury/database/exceptions/MissingCredentialsException.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- *
- */
-package uk.org.ury.database.exceptions;
-
-/**
- * Exception thrown when the database credentials required to
- * log into the URY database under a user class are missing,
- * and thus the log-in cannot continue.
- *
- * The best practice for handling a MissingCredentialsException
- * is to attempt to log into the database with a less privileged
- * user class or, if the credentials for read-only access are
- * missing, give up.
- *
- * @author Matt Windsor
- */
-
-public class MissingCredentialsException extends Exception
-{
-
- /**
- *
- */
-
- private static final long serialVersionUID = -397479334359858162L;
-
-
- /**
- * Construct a new MissingCredentialsException with a
- * default reason.
- */
-
- public
- MissingCredentialsException ()
- {
- super ("Missing credentials.");
- }
-
-
- /**
- * Construct a new MissingCredentialsException.
- *
- * @param reason The explanation for the exception.
- */
-
- public
- MissingCredentialsException (String reason)
- {
- super (reason);
- }
-}