Class DatabaseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseException
    extends java.lang.Exception
    DatabaseException was throw when have an error in database
    Author:
    luis.costa
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseException()
      DatabaseException constructor
      DatabaseException​(java.lang.String message)
      DatabaseException constructor with custom message
    • 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()
        DatabaseException constructor
      • DatabaseException

        public DatabaseException​(java.lang.String message)
        DatabaseException constructor with custom message
        Parameters:
        message - to instantiate exception