Class DatabaseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseException
    extends NgcException
    Exception for database errors. (Like missing DDC or invalid query syntax).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseException​(java.lang.String message)
      Constructor.
      DatabaseException​(java.lang.String message, java.lang.Exception e)
      Constructor.
    • 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)
        Constructor.
        Parameters:
        message - message
      • DatabaseException

        public DatabaseException​(java.lang.String message,
                                 java.lang.Exception e)
        Constructor.
        Parameters:
        message - error message
        e - exception cause