
--- src/main/java/com/takensoft/cms/accesCtrl/service/Impl/SystemAccesCtrlServiceImpl.java
+++ src/main/java/com/takensoft/cms/accesCtrl/service/Impl/SystemAccesCtrlServiceImpl.java
... | ... | @@ -68,8 +68,8 @@ |
68 | 68 |
return matches(list, path); |
69 | 69 |
} catch (DataAccessException dae) { |
70 | 70 |
throw dae; |
71 |
- } catch (UnknownHostException uhe) { |
|
72 |
- throw uhe; |
|
71 |
+ } catch (UnknownHostException ukhe) { |
|
72 |
+ throw new RuntimeException("호스트의 IP정보를 알 수가 없습니다.", ukhe); |
|
73 | 73 |
} catch (Exception e) { |
74 | 74 |
throw e; |
75 | 75 |
} |
--- src/main/java/com/takensoft/cms/prvcInqHstry/dao/PrvcInqHstryDAO.java
+++ src/main/java/com/takensoft/cms/prvcInqHstry/dao/PrvcInqHstryDAO.java
... | ... | @@ -8,42 +8,46 @@ |
8 | 8 |
import java.util.List; |
9 | 9 |
|
10 | 10 |
/** |
11 |
- * @author : 박정하 |
|
12 |
- * @since : 2024.05.22 |
|
11 |
+ * @author 박정하 |
|
12 |
+ * @since 2024.05.22 |
|
13 |
+ * @modification |
|
14 |
+ * since | author | description |
|
15 |
+ * 2024.05.22 | 박정하 | 최초 등록 |
|
13 | 16 |
* |
14 | 17 |
* 개인정보 조회 이력 관련 Mapper |
15 | 18 |
*/ |
16 | 19 |
@Mapper("prvcInqHstryDAO") |
17 | 20 |
public interface PrvcInqHstryDAO { |
21 |
+ |
|
18 | 22 |
/** |
19 |
- * @author : 박정하 |
|
20 |
- * @since : 2024.05.22 |
|
23 |
+ * @param prvcInqHstryVO - 개인정보 조회 이력 VO |
|
24 |
+ * @return int - 이력 등록 여부(성공:1, 실패:0) |
|
21 | 25 |
* |
22 | 26 |
* 개인정보 조회 이력 등록 |
23 | 27 |
*/ |
24 |
- public int insertPrvcInqHstry(PrvcInqHstryVO prvcInqHstryVO) throws Exception; |
|
28 |
+ int insertPrvcInqHstry(PrvcInqHstryVO prvcInqHstryVO); |
|
25 | 29 |
|
26 | 30 |
/** |
27 |
- * @author : 박정하 |
|
28 |
- * @since : 2024.05.27 |
|
31 |
+ * @param pagination - 페이징 처리 객체 |
|
32 |
+ * @return int - 조회된 개인정보 이력 목록 개수 |
|
29 | 33 |
* |
30 | 34 |
* 개인정보 조회 이력 목록 갯수 |
31 | 35 |
*/ |
32 |
- public int selectPrvcInqHstryListCnt(Pagination pagination) throws Exception; |
|
36 |
+ int selectPrvcInqHstryListCnt(Pagination pagination); |
|
33 | 37 |
|
34 | 38 |
/** |
35 |
- * @author : 박정하 |
|
36 |
- * @since : 2024.05.27 |
|
39 |
+ * @param pagination - 페이징 처리 객체 |
|
40 |
+ * @return List<PrvcInqHstryVO> - 조회된 개인정보 이력 목록 |
|
37 | 41 |
* |
38 | 42 |
* 개인정보 조회 이력 목록 조회 |
39 | 43 |
*/ |
40 |
- public List<PrvcInqHstryVO> selectPrvcInqHstryList(Pagination pagination) throws Exception; |
|
44 |
+ List<PrvcInqHstryVO> selectPrvcInqHstryList(Pagination pagination); |
|
41 | 45 |
|
42 | 46 |
/** |
43 |
- * @author : 박정하 |
|
44 |
- * @since : 2024.05.27 |
|
47 |
+ * @param inqHstryId - 조회 이력 ID |
|
48 |
+ * @return PrvcInqHstryVO - 조회된 개인정보 이력 상세 정보 |
|
45 | 49 |
* |
46 | 50 |
* 개인정보 조회 이력 상세 조회 |
47 | 51 |
*/ |
48 |
- public PrvcInqHstryVO selectPrvcInqHstryDetail(int inqHstryId) throws Exception; |
|
52 |
+ PrvcInqHstryVO selectPrvcInqHstryDetail(int inqHstryId); |
|
49 | 53 |
}(No newline at end of file) |
--- src/main/java/com/takensoft/cms/prvcInqHstry/service/Impl/PrvcInqHstryServiceImpl.java
+++ src/main/java/com/takensoft/cms/prvcInqHstry/service/Impl/PrvcInqHstryServiceImpl.java
... | ... | @@ -7,80 +7,121 @@ |
7 | 7 |
import com.takensoft.cms.prvcInqHstry.service.PrvcInqHstryService; |
8 | 8 |
import com.takensoft.cms.prvcInqHstry.vo.PrvcInqHstryVO; |
9 | 9 |
import com.takensoft.common.Pagination; |
10 |
+import com.takensoft.common.exception.CustomInsertFailException; |
|
11 |
+import com.takensoft.common.exception.CustomNotFoundException; |
|
10 | 12 |
import com.takensoft.common.util.CommonUtils; |
11 | 13 |
import com.takensoft.common.util.JWTUtil; |
12 | 14 |
import lombok.RequiredArgsConstructor; |
13 | 15 |
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl; |
16 |
+import org.springframework.dao.DataAccessException; |
|
14 | 17 |
import org.springframework.stereotype.Service; |
15 | 18 |
|
16 | 19 |
import jakarta.servlet.http.HttpServletRequest; |
20 |
+ |
|
21 |
+import java.net.UnknownHostException; |
|
17 | 22 |
import java.util.HashMap; |
18 | 23 |
import java.util.List; |
19 | 24 |
|
20 | 25 |
/** |
21 |
- * @author : 박정하 |
|
22 |
- * @since : 2024.05.22 |
|
26 |
+ * @author 박정하 |
|
27 |
+ * @since 2024.05.22 |
|
28 |
+ * @modification |
|
29 |
+ * since | author | description |
|
30 |
+ * 2024.05.22 | 박정하 | 최초 등록 |
|
31 |
+ * |
|
32 |
+ * EgovAbstractServiceImpl - 전자정부 프레임워크에서 제공하는 추상 서비스 구현 클래스 |
|
33 |
+ * PrvcInqHstryService - 개인정보 조회 이력 관련 서비스 인터페이스 |
|
23 | 34 |
* |
24 | 35 |
* 개인정보 조회 이력 관련 구현체 |
25 |
- * EgovAbstractServiceImpl : 전자정부 상속 |
|
26 |
- * PrvcInqHstryService : 팝업 관련 인터페이스 상속 |
|
27 | 36 |
*/ |
28 | 37 |
@Service("prvcInqHstryService") |
29 | 38 |
@RequiredArgsConstructor |
30 | 39 |
public class PrvcInqHstryServiceImpl extends EgovAbstractServiceImpl implements PrvcInqHstryService { |
40 |
+ |
|
31 | 41 |
private final JWTUtil jwtUtil; |
32 | 42 |
private final CommonUtils commonUtils; |
33 | 43 |
private final PrvcInqHstryDAO prvcInqHstryDAO; |
34 | 44 |
private final CodeManageService codeManageService; |
35 | 45 |
|
36 | 46 |
/** |
37 |
- * @author : 박정하 |
|
38 |
- * @since : 2024.05.22 |
|
47 |
+ * @param request - HttpServletRequest 객체 |
|
48 |
+ * @param prvcInqHstryVO - 개인정보 조회 이력 VO 객체 |
|
49 |
+ * @return int - 개인정보 조회 이력 등록 여부 (성공:1, 실패:0) |
|
50 |
+ * @throws CustomInsertFailException - 등록 실패 예외 발생 시 |
|
51 |
+ * @throws DataAccessException - 데이터베이스 접근 예외 발생 시 |
|
52 |
+ * @throws NullPointerException - Null 값이 발생할 경우 |
|
53 |
+ * @throws Exception - 그 외 예외 발생 시 |
|
39 | 54 |
* |
40 | 55 |
* 개인정보 조회 이력 등록 |
41 | 56 |
*/ |
42 |
- public int prvcInqHstryInsert(HttpServletRequest request, PrvcInqHstryVO prvcInqHstryVO) throws Exception { |
|
43 |
- // 조회 아이피 삽입 |
|
44 |
- String ipAdd = commonUtils.getIp(request); |
|
45 |
- prvcInqHstryVO.setInqIp(ipAdd); |
|
57 |
+ public int prvcInqHstryInsert(HttpServletRequest request, PrvcInqHstryVO prvcInqHstryVO) { |
|
58 |
+ try { |
|
59 |
+ // 조회 아이피 삽입 |
|
60 |
+ String ipAdd = commonUtils.getIp(request); |
|
61 |
+ prvcInqHstryVO.setInqIp(ipAdd); |
|
46 | 62 |
|
47 |
- // 조회자 삽입 |
|
48 |
- String writer = jwtUtil.getWriter(); |
|
49 |
- prvcInqHstryVO.setRdr(writer); |
|
63 |
+ // 조회자 삽입 |
|
64 |
+ String writer = jwtUtil.getWriter(); |
|
65 |
+ prvcInqHstryVO.setRdr(writer); |
|
50 | 66 |
|
51 |
- return prvcInqHstryDAO.insertPrvcInqHstry(prvcInqHstryVO); |
|
67 |
+ return prvcInqHstryDAO.insertPrvcInqHstry(prvcInqHstryVO); |
|
68 |
+ } catch (CustomInsertFailException cife) { |
|
69 |
+ throw cife; |
|
70 |
+ } catch (DataAccessException dae) { |
|
71 |
+ throw dae; |
|
72 |
+ } catch (UnknownHostException ukhe) { |
|
73 |
+ throw new RuntimeException("호스트의 IP정보를 알 수가 없습니다.", ukhe); |
|
74 |
+ } catch (Exception e) { |
|
75 |
+ throw e; |
|
76 |
+ } |
|
52 | 77 |
} |
53 | 78 |
|
54 | 79 |
/** |
55 |
- * @author : 박정하 |
|
56 |
- * @since : 2024.05.27 |
|
80 |
+ * @param params - pagination HashMap |
|
81 |
+ * @return HashMap<String, Object> - 검색 결과 목록 |
|
82 |
+ * @throws DataAccessException - 데이터베이스 접근 예외 발생 시 |
|
83 |
+ * @throws Exception - 그 외 예외 발생 시 |
|
57 | 84 |
* |
58 | 85 |
* 개인정보 조회 이력 목록 조회 |
59 | 86 |
*/ |
60 | 87 |
@Override |
61 |
- public HashMap<String, Object> prvcInqHstryList(HashMap<String, String> params) throws Exception { |
|
62 |
- Pagination search = new Pagination(0, params); |
|
63 |
- int cnt = prvcInqHstryDAO.selectPrvcInqHstryListCnt(search); |
|
88 |
+ public HashMap<String, Object> prvcInqHstryList(HashMap<String, String> params) { |
|
89 |
+ try { |
|
90 |
+ Pagination search = new Pagination(0, params); |
|
91 |
+ int cnt = prvcInqHstryDAO.selectPrvcInqHstryListCnt(search); |
|
64 | 92 |
|
65 |
- Pagination pagination = new Pagination(cnt, params); |
|
66 |
- List<PrvcInqHstryVO> list = prvcInqHstryDAO.selectPrvcInqHstryList(pagination); |
|
67 |
- List<CodeManageVO> codeList = codeManageService.findByChildCdCache("prvcInqHstry"); // 검색 조건 |
|
93 |
+ Pagination pagination = new Pagination(cnt, params); |
|
94 |
+ List<PrvcInqHstryVO> list = prvcInqHstryDAO.selectPrvcInqHstryList(pagination); |
|
95 |
+ List<CodeManageVO> codeList = codeManageService.findByChildCdCache("prvcInqHstry"); // 검색 조건 |
|
68 | 96 |
|
69 |
- HashMap<String, Object> result = new HashMap<>(); |
|
70 |
- result.put("list", list); |
|
71 |
- result.put("pagination", pagination); |
|
72 |
- result.put("codeList", codeList); |
|
73 |
- return result; |
|
97 |
+ HashMap<String, Object> result = new HashMap<>(); |
|
98 |
+ result.put("list", list); |
|
99 |
+ result.put("pagination", pagination); |
|
100 |
+ result.put("codeList", codeList); |
|
101 |
+ return result; |
|
102 |
+ } catch (DataAccessException dae) { |
|
103 |
+ throw dae; |
|
104 |
+ } catch (Exception e) { |
|
105 |
+ throw e; |
|
106 |
+ } |
|
74 | 107 |
} |
75 | 108 |
|
76 | 109 |
/** |
77 |
- * @author : 박정하 |
|
78 |
- * @since : 2024.05.27 |
|
110 |
+ * @param inqHstryId - 조회 이력 ID |
|
111 |
+ * @return PrvcInqHstryVO - 개인정보 조회 이력 VO 객체 |
|
112 |
+ * @throws DataAccessException - 데이터베이스 접근 예외 발생 시 |
|
113 |
+ * @throws Exception - 그 외 예외 발생 시 |
|
79 | 114 |
* |
80 | 115 |
* 개인정보 조회 이력 상세 조회 |
81 | 116 |
*/ |
82 | 117 |
@Override |
83 |
- public PrvcInqHstryVO prvcInqHstryDetail(int inqHstryId) throws Exception { |
|
84 |
- return prvcInqHstryDAO.selectPrvcInqHstryDetail(inqHstryId); |
|
118 |
+ public PrvcInqHstryVO prvcInqHstryDetail(int inqHstryId){ |
|
119 |
+ try { |
|
120 |
+ return prvcInqHstryDAO.selectPrvcInqHstryDetail(inqHstryId); |
|
121 |
+ } catch (DataAccessException dae) { |
|
122 |
+ throw dae; |
|
123 |
+ } catch (Exception e) { |
|
124 |
+ throw e; |
|
125 |
+ } |
|
85 | 126 |
} |
86 | 127 |
}(No newline at end of file) |
--- src/main/java/com/takensoft/cms/prvcInqHstry/service/PrvcInqHstryService.java
+++ src/main/java/com/takensoft/cms/prvcInqHstry/service/PrvcInqHstryService.java
... | ... | @@ -6,33 +6,37 @@ |
6 | 6 |
import java.util.HashMap; |
7 | 7 |
|
8 | 8 |
/** |
9 |
- * @author : 박정하 |
|
10 |
- * @since : 2024.05.22 |
|
9 |
+ * @author 박정하 |
|
10 |
+ * @since 2024.05.22 |
|
11 |
+ * @modification |
|
12 |
+ * since | author | description |
|
13 |
+ * 2024.05.22 | 박정하 | 최초 등록 |
|
11 | 14 |
* |
12 | 15 |
* 개인정보 조회 이력 관련 인터페이스 |
13 | 16 |
*/ |
14 | 17 |
public interface PrvcInqHstryService { |
15 | 18 |
/** |
16 |
- * @author : 박정하 |
|
17 |
- * @since : 2024.05.22 |
|
19 |
+ * @param request - HttpServletRequest 객체 |
|
20 |
+ * @param prvcInqHstryVO - 개인정보 조회 이력 VO |
|
21 |
+ * @return int - 등록 여부 (성공:1, 실패:0) |
|
18 | 22 |
* |
19 | 23 |
* 개인정보 조회 이력 등록 |
20 | 24 |
*/ |
21 |
- public int prvcInqHstryInsert(HttpServletRequest request, PrvcInqHstryVO prvcInqHstryVO) throws Exception; |
|
25 |
+ int prvcInqHstryInsert(HttpServletRequest request, PrvcInqHstryVO prvcInqHstryVO); |
|
22 | 26 |
|
23 | 27 |
/** |
24 |
- * @author : 박정하 |
|
25 |
- * @since : 2024.05.27 |
|
28 |
+ * @param params - Pagination 객체 |
|
29 |
+ * @return HashMap<String, Object> - 개인정보 죄회 이력 목록 |
|
26 | 30 |
* |
27 | 31 |
* 개인정보 조회 이력 목록 조회 |
28 | 32 |
*/ |
29 |
- public HashMap<String, Object> prvcInqHstryList(HashMap<String, String> params) throws Exception; |
|
33 |
+ HashMap<String, Object> prvcInqHstryList(HashMap<String, String> params); |
|
30 | 34 |
|
31 | 35 |
/** |
32 |
- * @author : 박정하 |
|
33 |
- * @since : 2024.05.27 |
|
36 |
+ * @param inqHstryId - 개인정보 조회 이력 ID |
|
37 |
+ * @return PrvcInqHstryVO - 개인정보 조회 이력 상세 정보 |
|
34 | 38 |
* |
35 | 39 |
* 개인정보 조회 이력 상세 조회 |
36 | 40 |
*/ |
37 |
- public PrvcInqHstryVO prvcInqHstryDetail(int inqHstryId) throws Exception; |
|
41 |
+ PrvcInqHstryVO prvcInqHstryDetail(int inqHstryId); |
|
38 | 42 |
}(No newline at end of file) |
--- src/main/java/com/takensoft/cms/prvcInqHstry/vo/PrvcInqHstryVO.java
+++ src/main/java/com/takensoft/cms/prvcInqHstry/vo/PrvcInqHstryVO.java
... | ... | @@ -1,29 +1,27 @@ |
1 | 1 |
package com.takensoft.cms.prvcInqHstry.vo; |
2 | 2 |
|
3 |
-import lombok.Data; |
|
3 |
+import lombok.*; |
|
4 | 4 |
|
5 | 5 |
/** |
6 | 6 |
* @author : 박정하 |
7 | 7 |
* @since : 2024.05.22 |
8 |
+ * @modification |
|
9 |
+ * since | author | description |
|
10 |
+ * 2024.05.22 | 박정하 | 최초 등록 |
|
8 | 11 |
* |
9 | 12 |
* 개인정보 조회 이력 관련 VO |
10 | 13 |
*/ |
11 |
-@Data |
|
14 |
+@Getter |
|
15 |
+@Setter |
|
16 |
+@NoArgsConstructor |
|
17 |
+@AllArgsConstructor |
|
12 | 18 |
public class PrvcInqHstryVO { |
13 |
- // 조회 이력 아이디 |
|
14 |
- private int inqHstryId; |
|
15 |
- // 조회 대상자 아이디 |
|
16 |
- private String inqTrprId; |
|
17 |
- // 조회 사유 |
|
18 |
- private String inqRsn; |
|
19 |
- // 조회 아이피 |
|
20 |
- private String inqIp; |
|
21 |
- // 조회자 |
|
22 |
- private String rdr; |
|
23 |
- // 조회일 |
|
24 |
- private String inqDt; |
|
25 |
- // 조회자 이름 |
|
26 |
- private String mbrNm; |
|
27 |
- // 조회 대상자 로그인 아이디 |
|
28 |
- private String lgnId; |
|
19 |
+ private int inqHstryId; // 조회 이력 아이디 |
|
20 |
+ private String inqTrprId; // 조회 대상자 아이디 |
|
21 |
+ private String inqRsn; // 조회 사유 |
|
22 |
+ private String inqIp; // 조회 아이피 |
|
23 |
+ private String rdr; // 조회자 |
|
24 |
+ private String inqDt; // 조회일 |
|
25 |
+ private String mbrNm; // 조회자 이름 |
|
26 |
+ private String lgnId; // 조회 대상자 로그인 아이디 |
|
29 | 27 |
}(No newline at end of file) |
--- src/main/java/com/takensoft/cms/prvcInqHstry/web/PrvcInqHstryController.java
+++ src/main/java/com/takensoft/cms/prvcInqHstry/web/PrvcInqHstryController.java
... | ... | @@ -32,16 +32,14 @@ |
32 | 32 |
private final ResponseUtil resUtil; |
33 | 33 |
|
34 | 34 |
/** |
35 |
- * @author 박정하 |
|
36 |
- * @since 2024.05.22 |
|
37 |
- * @param prvcInqHstryVO |
|
38 |
- * @return |
|
39 |
- * @throws Exception |
|
35 |
+ * @param request - HTTP 요청 객체 |
|
36 |
+ * @param prvcInqHstryVO - 개인정보 조회 이력 VO |
|
37 |
+ * @return ResponseEntity - 개인정보 죄회 이력 등록 여부(성공/실패) |
|
40 | 38 |
* |
41 | 39 |
* 개인정보 조회 이력 등록 |
42 | 40 |
*/ |
43 | 41 |
@PostMapping("/insertProc.json") |
44 |
- public ResponseEntity<?> insertProc(HttpServletRequest request, @RequestBody PrvcInqHstryVO prvcInqHstryVO) throws Exception { |
|
42 |
+ public ResponseEntity<?> insertProc(HttpServletRequest request, @RequestBody PrvcInqHstryVO prvcInqHstryVO){ |
|
45 | 43 |
int result = prvcInqHstryService.prvcInqHstryInsert(request, prvcInqHstryVO); |
46 | 44 |
|
47 | 45 |
// 응답 처리 |
... | ... | @@ -53,16 +51,13 @@ |
53 | 51 |
} |
54 | 52 |
|
55 | 53 |
/** |
56 |
- * @author 박정하 |
|
57 |
- * @since 2024.05.27 |
|
58 |
- * @param params |
|
59 |
- * @return |
|
60 |
- * @throws Exception |
|
54 |
+ * @param params - pagination hashmap |
|
55 |
+ * @return ResponseEntity - 개인정보 조회 이력 목록 |
|
61 | 56 |
* |
62 | 57 |
* 개인정보 조회 이력 목록 조회 |
63 | 58 |
*/ |
64 | 59 |
@PostMapping("/listProc.json") |
65 |
- public ResponseEntity<?> listProc(@RequestBody HashMap<String, String> params) throws Exception { |
|
60 |
+ public ResponseEntity<?> listProc(@RequestBody HashMap<String, String> params){ |
|
66 | 61 |
HashMap<String, Object> result = prvcInqHstryService.prvcInqHstryList(params); |
67 | 62 |
|
68 | 63 |
// 응답 처리 |
... | ... | @@ -70,16 +65,13 @@ |
70 | 65 |
} |
71 | 66 |
|
72 | 67 |
/** |
73 |
- * @author 박정하 |
|
74 |
- * @since 2024.05.27 |
|
75 |
- * @param prvcInqHstryVO |
|
76 |
- * @return |
|
77 |
- * @throws Exception |
|
68 |
+ * @param prvcInqHstryVO - 개인정보 조회 이력 VO |
|
69 |
+ * @return ResponseEntity - 개인정보 조회 이력 상세 정보 |
|
78 | 70 |
* |
79 | 71 |
* 개인정보 조회 이력 상세 조회 |
80 | 72 |
*/ |
81 | 73 |
@PostMapping("/detailProc.json") |
82 |
- public ResponseEntity<?> listProc(@RequestBody PrvcInqHstryVO prvcInqHstryVO) throws Exception { |
|
74 |
+ public ResponseEntity<?> listProc(@RequestBody PrvcInqHstryVO prvcInqHstryVO){ |
|
83 | 75 |
PrvcInqHstryVO result = prvcInqHstryService.prvcInqHstryDetail(prvcInqHstryVO.getInqHstryId()); |
84 | 76 |
|
85 | 77 |
// 응답 처리 |
--- src/main/java/com/takensoft/cms/search/service/Impl/SearchServiceImpl.java
+++ src/main/java/com/takensoft/cms/search/service/Impl/SearchServiceImpl.java
... | ... | @@ -66,8 +66,6 @@ |
66 | 66 |
return searchResultVO; |
67 | 67 |
} catch (DataAccessException dae) { |
68 | 68 |
throw dae; |
69 |
- } catch(NullPointerException npe) { |
|
70 |
- throw npe; |
|
71 | 69 |
} catch (Exception e) { |
72 | 70 |
throw e; |
73 | 71 |
} |
... | ... | @@ -177,8 +175,6 @@ |
177 | 175 |
} |
178 | 176 |
} catch (DataAccessException dae) { |
179 | 177 |
throw dae; |
180 |
- } catch (NullPointerException npe){ |
|
181 |
- throw npe; |
|
182 | 178 |
} catch (Exception e) { |
183 | 179 |
throw e; |
184 | 180 |
} |
... | ... | @@ -245,8 +241,6 @@ |
245 | 241 |
} |
246 | 242 |
} catch (DataAccessException dae) { |
247 | 243 |
throw dae; |
248 |
- } catch (NullPointerException npe){ |
|
249 |
- throw npe; |
|
250 | 244 |
} catch (Exception e) { |
251 | 245 |
throw e; |
252 | 246 |
} |
... | ... | @@ -287,8 +281,6 @@ |
287 | 281 |
} |
288 | 282 |
} catch (DataAccessException dae) { |
289 | 283 |
throw dae; |
290 |
- } catch (NullPointerException npe){ |
|
291 |
- throw npe; |
|
292 | 284 |
} catch (Exception e) { |
293 | 285 |
throw e; |
294 | 286 |
} |
... | ... | @@ -329,8 +321,6 @@ |
329 | 321 |
} |
330 | 322 |
} catch (DataAccessException dae) { |
331 | 323 |
throw dae; |
332 |
- } catch (NullPointerException npe){ |
|
333 |
- throw npe; |
|
334 | 324 |
} catch (Exception e) { |
335 | 325 |
throw e; |
336 | 326 |
} |
... | ... | @@ -372,8 +362,6 @@ |
372 | 362 |
} |
373 | 363 |
} catch (DataAccessException dae) { |
374 | 364 |
throw dae; |
375 |
- } catch (NullPointerException npe){ |
|
376 |
- throw npe; |
|
377 | 365 |
} catch (Exception e) { |
378 | 366 |
throw e; |
379 | 367 |
} |
... | ... | @@ -397,8 +385,6 @@ |
397 | 385 |
searchMenu.setTotalListCount(totalListCount); |
398 | 386 |
} catch (DataAccessException dae) { |
399 | 387 |
throw dae; |
400 |
- } catch (NullPointerException npe){ |
|
401 |
- throw npe; |
|
402 | 388 |
} catch (Exception e) { |
403 | 389 |
throw e; |
404 | 390 |
} |
... | ... | @@ -427,9 +413,7 @@ |
427 | 413 |
contentList.add(searchContentVO); |
428 | 414 |
} catch (DataAccessException dae) { |
429 | 415 |
throw dae; |
430 |
- } catch (NullPointerException npe){ |
|
431 |
- throw npe; |
|
432 |
- } catch (Exception e) { |
|
416 |
+ } catch (Exception e) { |
|
433 | 417 |
throw e; |
434 | 418 |
} |
435 | 419 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?