package egovframework.rte.cvpl.exception;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import egovframework.rte.fdl.cmmn.exception.handler.ExceptionHandler;

/**
 * @Class Name : EgovCvplExcepHndlr.java
 * @Description : Cvp ExceptionHandler class
 * @Modification Information @ @ 수정일 수정자 수정내용 @ ------- --------
 *               --------------------------- @ 2009.02.01 박소윤 최초 생성
 * 
 * @author 실행환경 개발팀 박소윤
 * @since 2009.02.01
 * @version 1.0
 * @see Copyright (C) 2009 by MOPAS All right reserved.
 */
public class EgovCvplExcepHndlr implements ExceptionHandler {

    protected Log log = LogFactory.getLog(this.getClass());

    /*
     * @Resource(name = "otherSSLMailSender") private SimpleSSLMail mailSender;
     */

    public void occur(Exception ex, String packageName) {

        log.debug(" EgovCvplExcepHndlr run...............");
        try {
            // mailSender. send(ex, packageName);
            log.debug(" sending a alert mail  is completed ");
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }

}
