# DefaultExceptionHandler.java

    package cloud.wconnect.frontoffice.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 yyt
     * @date 2023/3/27
     */
    @ControllerAdvice
    public class DefaultExceptionHandler extends BaseExceptionHandler {

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

    }