|
|
@@ -27,7 +27,7 @@ public class MessageController {
|
|
|
|
|
|
@WebLog
|
|
|
@RequestMapping(value = "/getPage")
|
|
|
- public Object getPage(@RequestBody Map<String, Object> map) {
|
|
|
+ public Object getPage(@RequestBody Map<String, Object> map) throws Exception{
|
|
|
Connection connection = null;
|
|
|
try {
|
|
|
connection = dataSource.getConnection();
|
|
|
@@ -35,7 +35,7 @@ public class MessageController {
|
|
|
|
|
|
return new ResponseEntity<>(page, HttpStatus.OK);
|
|
|
} catch (Exception e) {
|
|
|
- throw new BizException(e.getMessage());
|
|
|
+ throw e;
|
|
|
} finally {
|
|
|
jdbcClient.finallyExecute(connection);
|
|
|
}
|