# DefaultExceptionHandler.java

    package cloud.wconnect.rateshop.controller;

    import cloud.wconnect.commonlib.exception.handler.BaseExceptionHandler;
    import cloud.wconnect.commonlib.util.I18nMessageUtils;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.web.bind.annotation.ControllerAdvice;

    /**
     * 默认异常处理类
     *
     * @author lichen
     * @date 2023/6/23
     */
    @ControllerAdvice
    public class DefaultExceptionHandler extends BaseExceptionHandler {

        public DefaultExceptionHandler(@Autowired I18nMessageUtils i18nMessageUtils){
            super(i18nMessageUtils);
        }

    }