All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.egzosn.pay.common.util.LogExceptionHandler Maven / Gradle / Ivy

There is a newer version: 2.14.7
Show newest version
package com.egzosn.pay.common.util;

import com.egzosn.pay.common.api.PayErrorExceptionHandler;
import com.egzosn.pay.common.exception.PayErrorException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;



/**
 * LogExceptionHandler 日志处理器
 * @author  egan
 * 
 * email [email protected]
 * date 2016-6-1 11:28:01
 *
 *
 * source chanjarster/weixin-java-tools
 * 
*/ public class LogExceptionHandler implements PayErrorExceptionHandler { protected final Log log = LogFactory.getLog(PayErrorExceptionHandler.class); @Override public void handle(PayErrorException e) { log.error("Error happens", e); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy