1 /*** $Id: ErrorMapper.java,v 1.1.1.1 2004/05/18 10:50:14 mochoa Exp $ */
2 package org.j2ee.dao.errors;
3
4 import org.j2ee.dao.DAOException;
5
6 /***
7 * Error mapper interface.
8 * Defines the method used by DAOErrorHandler class
9 *
10 * Last modified $Date: 2004/05/18 10:50:14 $
11 * @version $Revision: 1.1.1.1 $
12 * @author mochoa (mochoa@users.sourceforge.net)
13 *
14 * @see org.j2ee.dao.DAOErrorHandler
15 */
16 public interface ErrorMapper {
17 /***
18 * This method will convert a list of know application error codes to the list
19 * defined into the
20 * @see DAOErrorHandler
21 * @param t (Exception to be convert to the list of known error codes)
22 * @return (A known error code list)
23 * @see org.j2ee.dao.DAOErrorHandler
24 */
25 int DBErrorMapper(Throwable t);
26 }
This page was automatically generated by Maven