Class DatabaseException

    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseException​(java.lang.String message)
      Throws if something went wrong with fetching information from the database.
      DatabaseException​(java.lang.String message, java.lang.Throwable cause)
      Throws if something went wrong with fetching information from the database.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DatabaseException

        public DatabaseException​(java.lang.String message)
        Throws if something went wrong with fetching information from the database.
        Parameters:
        message - explanation of the error
      • DatabaseException

        public DatabaseException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Throws if something went wrong with fetching information from the database.
        Parameters:
        message - explanation of the error
        cause - wrapped exception