01: package org.julp;
02:
03: public interface ExceptionHandler extends java.io.Serializable {
04: /** Methods should return true to continue process and false to throw Throwable t */
05: public boolean handleException(DomainObject domainObject,
06: String sql, java.util.Collection params, Throwable t);
07:
08: public boolean handleException(DomainObject domainObject,
09: String sql, Throwable t);
10:
11: public boolean handleException(DomainObject domainObject,
12: Throwable t);
13:
14: public boolean handleException(DomainObject domainObject,
15: String field, Object value, Throwable t);
16:
17: public void setDomainObjectFactory(DomainObjectFactory factory);
18: }
|