From 274f2d987467f9a5a4bcbaf70a373cdf524d122c Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Mon, 2 Dec 2024 18:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20ParsingFailureException=20?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plusone/commons/exception/ParsingFailureException.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/exception/ParsingFailureException.java b/src/main/java/xyz/zhouxy/plusone/commons/exception/ParsingFailureException.java index 5f9ae68..25543ed 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/exception/ParsingFailureException.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/exception/ParsingFailureException.java @@ -18,12 +18,14 @@ package xyz.zhouxy.plusone.commons.exception; import java.time.format.DateTimeParseException; +import xyz.zhouxy.plusone.commons.exception.business.RequestParamsException; + /** * 解析失败异常 * *

- * 解析失败的不一定是客户传的参数,也可能是其它来源的数据解析失败 - * 如果表示用户传参造成的解析失败,可使用 RequestParamsException(Throwable cause), + * 解析失败的不一定是客户传的参数,也可能是其它来源的数据解析失败。 + * 如果表示用户传参造成的解析失败,可使用 {@link RequestParamsException#RequestParamsException(Throwable)}, * 将 ParsingFailureException 包装成 {@link RequestParamsException} 再抛出 *

*