All Packages Class Hierarchy This Package Previous Next Index
Class JProjects.eab.data.DAException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----JProjects.eab.data.DAException
- public class DAException
- extends Exception
This class is for all exceptions thrown by methods that accesses Database.
- Author:
- Alexander Jaremenko < jarem@isb.gomel.by >
-
DAException(String)
-
-
DAException(String, SQLException)
-
-
DAException(String, String)
-
-
DAException(String, String, SQLException)
-
-
getId()
-
-
getProperty()
-
-
getSQLException()
-
DAException
public DAException(String id)
DAException
public DAException(String id,
SQLException sqlEx)
DAException
public DAException(String id,
String property)
DAException
public DAException(String id,
String property,
SQLException sqlEx)
getId
public String getId()
- Returns:
- - the String message ID for the current DAException object.
getProperty
public String getProperty()
- Returns:
- - the name of the property (attribute) that caused
the DAException to occur.
getSQLException
public SQLException getSQLException()
- Returns:
- the SQL Exception object that is associated with the
current DAException object.
All Packages Class Hierarchy This Package Previous Next Index