Class DatabaseException

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public class DatabaseException
    extends java.lang.RuntimeException
    implements scala.Product, scala.Serializable
    Represents the exception while connecting to database server e.g. in case of providing incorrect username or password

    param: msg represents a brief description of the exception from the underlying or root exception param: cause represents the underlying or root exception

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseException​(java.lang.String msg, java.lang.Throwable cause)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static void addSuppressed​(java.lang.Throwable x$1)  
      abstract static boolean canEqual​(java.lang.Object that)  
      java.lang.Throwable cause()  
      abstract static boolean equals​(java.lang.Object that)  
      static java.lang.Throwable fillInStackTrace()  
      static java.lang.Throwable getCause()  
      static java.lang.String getLocalizedMessage()  
      static java.lang.String getMessage()  
      static java.lang.StackTraceElement[] getStackTrace()  
      static java.lang.Throwable[] getSuppressed()  
      static java.lang.Throwable initCause​(java.lang.Throwable x$1)  
      java.lang.String msg()  
      static void printStackTrace()  
      static void printStackTrace​(java.io.PrintStream x$1)  
      static void printStackTrace​(java.io.PrintWriter x$1)  
      abstract static int productArity()  
      abstract static java.lang.Object productElement​(int n)  
      static scala.collection.Iterator<java.lang.Object> productIterator()  
      static java.lang.String productPrefix()  
      static void setStackTrace​(java.lang.StackTraceElement[] x$1)  
      static java.lang.String toString()  
      • 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
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productIterator, productPrefix
    • Constructor Detail

      • DatabaseException

        public DatabaseException​(java.lang.String msg,
                                 java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public static java.lang.String getMessage()
      • getLocalizedMessage

        public static java.lang.String getLocalizedMessage()
      • getCause

        public static java.lang.Throwable getCause()
      • initCause

        public static java.lang.Throwable initCause​(java.lang.Throwable x$1)
      • toString

        public static java.lang.String toString()
      • printStackTrace

        public static void printStackTrace()
      • printStackTrace

        public static void printStackTrace​(java.io.PrintStream x$1)
      • printStackTrace

        public static void printStackTrace​(java.io.PrintWriter x$1)
      • fillInStackTrace

        public static java.lang.Throwable fillInStackTrace()
      • getStackTrace

        public static java.lang.StackTraceElement[] getStackTrace()
      • setStackTrace

        public static void setStackTrace​(java.lang.StackTraceElement[] x$1)
      • addSuppressed

        public static final void addSuppressed​(java.lang.Throwable x$1)
      • getSuppressed

        public static final java.lang.Throwable[] getSuppressed()
      • canEqual

        public abstract static boolean canEqual​(java.lang.Object that)
      • equals

        public abstract static boolean equals​(java.lang.Object that)
      • productElement

        public abstract static java.lang.Object productElement​(int n)
      • productArity

        public abstract static int productArity()
      • productIterator

        public static scala.collection.Iterator<java.lang.Object> productIterator()
      • productPrefix

        public static java.lang.String productPrefix()
      • msg

        public java.lang.String msg()
      • cause

        public java.lang.Throwable cause()