随笔分类 -  exception

摘要:package org.linlinjava.litemall.core.config; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hibernate.validator.internal.engine.path.PathImpl; import... 阅读全文
posted @ 2019-08-04 21:48 tonggc1668 阅读(667) 评论(0) 推荐(0)
摘要:package me.zhengjie.common.exception.handler; import lombok.extern.slf4j.Slf4j; import me.zhengjie.common.exception.BadRequestException; import me.zhengjie.common.exception.EntityExistException; imp... 阅读全文
posted @ 2019-07-21 09:56 tonggc1668 阅读(807) 评论(0) 推荐(0)
摘要:package me.zhengjie.common.exception; import org.springframework.util.StringUtils; import java.util.HashMap; import java.util.Map; import java.util.st 阅读全文
posted @ 2019-07-20 10:51 tonggc1668 阅读(440) 评论(0) 推荐(0)
摘要:package me.zhengjie.common.exception; import lombok.Getter; import org.springframework.http.HttpStatus; import static org.springframework.http.HttpStatus.BAD_REQUEST; /** * @author jie * @date 2... 阅读全文
posted @ 2019-07-20 10:47 tonggc1668 阅读(1459) 评论(0) 推荐(0)
摘要:public class RetryException extends Exception { public TempestRetryException(Throwable e) { super(e); } public TempestRetryException(String msg, Throwable cause) { super(msg, cause); ... 阅读全文
posted @ 2018-04-16 15:35 tonggc1668 阅读(255) 评论(0) 推荐(0)
摘要:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target sun.security.provider.certpath 阅读全文
posted @ 2018-03-09 18:44 tonggc1668 阅读(443) 评论(0) 推荐(0)
摘要:public class ThrowableUtil { public static Throwable getDeepestCause(final Throwable throwable) { int count; Throwable cause; for (count = 5, cause = throwable; cause.getC... 阅读全文
posted @ 2017-06-30 09:40 tonggc1668 阅读(328) 评论(0) 推荐(0)