From 6f6f9bbbfc04b44ae250ba1e17df413e8253fdf8 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Wed, 16 Aug 2017 14:56:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A0=E5=8F=82=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/hswebframework/web/NotFoundException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hsweb-core/src/main/java/org/hswebframework/web/NotFoundException.java b/hsweb-core/src/main/java/org/hswebframework/web/NotFoundException.java index 6bae1bb3f..4ccda05f4 100644 --- a/hsweb-core/src/main/java/org/hswebframework/web/NotFoundException.java +++ b/hsweb-core/src/main/java/org/hswebframework/web/NotFoundException.java @@ -25,4 +25,8 @@ public class NotFoundException extends BusinessException { public NotFoundException(String message) { super(message, 404); } + + public NotFoundException() { + this("data not found"); + } }