|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.j2ee.dao.errors.AbstractErrorMapper
This abstrac class is used to convert a database dependant representation of SQL Error Code to a list of known error codes defined into the interface DAOErrorHandler Last modified $Date: 2004/05/18 10:50:14 $
DAOErrorHandler
Constructor Summary | |
---|---|
AbstractErrorMapper()
|
Method Summary | |
---|---|
abstract int |
DBErrorConvert(int error)
This do not work perfectly, see http://www.jguru.com/faq/view.jsp?EID=46397 |
int |
DBErrorMapper(java.lang.Throwable t)
This method will convert a list of know application error codes to the list defined into the |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractErrorMapper()
Method Detail |
public abstract int DBErrorConvert(int error)
for a complete list of error code to return
public int DBErrorMapper(java.lang.Throwable t)
ErrorMapper
DBErrorMapper
in interface ErrorMapper
t
- (Exception to be convert to the list of known error codes)
DAOErrorHandler
,
DAOErrorHandler
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |