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
public class DatabaseException extends java.lang.RuntimeException implements scala.Product, java.io.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 abstract static R
apply(T1 v1, T2 v2)
java.lang.Throwable
cause()
java.lang.String
msg()
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
-
-