uk.org.ury.database.exceptions
Class MissingCredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
uk.org.ury.database.exceptions.MissingCredentialsException
- All Implemented Interfaces:
- java.io.Serializable
public class MissingCredentialsException
- extends java.lang.Exception
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
- See Also:
- Serialized Form
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 |
MissingCredentialsException
public MissingCredentialsException()
- Construct a new MissingCredentialsException with a
default reason.
MissingCredentialsException
public MissingCredentialsException(java.lang.String reason)
- Construct a new MissingCredentialsException.
- Parameters:
reason
- The explanation for the exception.