====== Exception Handling ======
===== 개요 =====
[[egovframework:rte:bsl:exception_handling|Exception Handling]] Service 를 적용해서 Exception을 처리한다.
===== 설명 =====
==== Configuration ====
=== resources\spring\context-aspect.xml ===
**service.impl.*
**service.impl.*
==== Source ====
=== egovframework\rte\cvpl\exception\EgovCvplExcepHndlr.java ===
public void occur(Exception ex, String packageName) {
log.debug(" EgovCvplExcepHndlr run...............");
try {
log.debug(" sending a alert mail is completed ");
} catch (Exception e) {
e.printStackTrace();
}
}
=== egovframework\rte\cvpl\exception\EgovCvplOthersExcepHndlr.java ===
protected Log log = LogFactory.getLog(this.getClass());
public void occur(Exception exception, String packageName) {
log.debug(" EgovCvplOthersExcepHndlr run...............");
}