Package csw.database.exceptions
Class DatabaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- csw.database.exceptions.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 passwordparam: 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
-
-
-
-
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()
-
-