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 >

Constructor Index

 o DAException(String)
 o DAException(String, SQLException)
 o DAException(String, String)
 o DAException(String, String, SQLException)

Method Index

 o getId()
 o getProperty()
 o getSQLException()

Constructors

 o DAException
 public DAException(String id)
 o DAException
 public DAException(String id,
                    SQLException sqlEx)
 o DAException
 public DAException(String id,
                    String property)
 o DAException
 public DAException(String id,
                    String property,
                    SQLException sqlEx)

Methods

 o getId
 public String getId()
Returns:
- the String message ID for the current DAException object.
 o getProperty
 public String getProperty()
Returns:
- the name of the property (attribute) that caused the DAException to occur.
 o 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