From 4f5c2c22871c4afacddb486bee4531783706adfb Mon Sep 17 00:00:00 2001 From: wangkang Date: Wed, 20 Jun 2018 09:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96=E5=8C=85?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- udf-starter/pom.xml | 12 ++++++------ .../udf/core/exception/handle/ExceptionHandle.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/udf-starter/pom.xml b/udf-starter/pom.xml index c91e0b4..01bb7f0 100644 --- a/udf-starter/pom.xml +++ b/udf-starter/pom.xml @@ -12,7 +12,7 @@ 1.0 - 1.5.10.RELEASE + 1.5.14.RELEASE Edgware.SR3 UTF-8 1.8 @@ -21,12 +21,12 @@ 2.8.0 4.1 3.7 - 1.15 + 1.17 2.3.0 - 1.1.6 - 1.17 - 3.3.1 - 1.3.1 + 1.1.10 + 2.0.0 + 3.3.3 + 1.3.2 1.1 2.8.2 1.0.0 diff --git a/udf-starter/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java b/udf-starter/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java index b86d3de..f00f56d 100644 --- a/udf-starter/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java +++ b/udf-starter/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java @@ -69,7 +69,7 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler { * @return ResponseEntity */ @ExceptionHandler(value = Exception.class) - public ResponseEntity exception(Exception ex, WebRequest request) { + public ResponseEntity exception(Exception ex, WebRequest request) throws Exception { //异常处理 ResponseEntity objectResponseEntity = this.handleException(ex, request); return this.handleExceptionInternal(ex, null, objectResponseEntity.getHeaders(), objectResponseEntity.getStatusCode(), request);