1724 lines
47 KiB
HTML
1724 lines
47 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="../style.css">
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<h1>ApplicationExceptionHandler.java</h1>
|
|
|
|
<table class="src">
|
|
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_1'/>
|
|
1
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_1'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>package com.project.auth.presentation.support.exception;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_2'/>
|
|
2
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_2'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_3'/>
|
|
3
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_3'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import com.project.auth.application.support.exception.BusinessException;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_4'/>
|
|
4
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_4'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import com.project.auth.application.support.exception.CommonErrorCode;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_5'/>
|
|
5
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_5'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import com.project.auth.application.support.logging.LogSanitizer;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_6'/>
|
|
6
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_6'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import com.project.auth.presentation.support.response.ApiResult;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_7'/>
|
|
7
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_7'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import com.project.auth.presentation.support.response.ApiResultFactory;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_8'/>
|
|
8
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_8'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import jakarta.servlet.http.HttpServletRequest;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_9'/>
|
|
9
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_9'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import jakarta.servlet.http.HttpServletResponse;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_10'/>
|
|
10
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_10'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.slf4j.Logger;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_11'/>
|
|
11
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_11'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.slf4j.LoggerFactory;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_12'/>
|
|
12
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_12'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.core.Ordered;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_13'/>
|
|
13
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_13'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.core.annotation.Order;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_14'/>
|
|
14
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_14'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.http.HttpStatus;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_15'/>
|
|
15
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_15'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.http.ResponseEntity;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_16'/>
|
|
16
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_16'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.http.converter.HttpMessageNotWritableException;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_17'/>
|
|
17
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_17'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.web.bind.annotation.ExceptionHandler;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_18'/>
|
|
18
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_18'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>import org.springframework.web.bind.annotation.RestControllerAdvice;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_19'/>
|
|
19
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_19'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_20'/>
|
|
20
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_20'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>@RestControllerAdvice</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_21'/>
|
|
21
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_21'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>@Order(Ordered.LOWEST_PRECEDENCE)</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_22'/>
|
|
22
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_22'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>public class ApplicationExceptionHandler {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_23'/>
|
|
23
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_23'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_24'/>
|
|
24
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_24'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> private static final Logger log = LoggerFactory.getLogger(ApplicationExceptionHandler.class);</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_25'/>
|
|
25
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_25'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_26'/>
|
|
26
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_26'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> private final ApiResultFactory apiResultFactory;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_27'/>
|
|
27
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_27'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_28'/>
|
|
28
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_28'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> public ApplicationExceptionHandler(ApiResultFactory apiResultFactory) {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_29'/>
|
|
29
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_29'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> this.apiResultFactory = apiResultFactory;</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_30'/>
|
|
30
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_30'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> }</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_31'/>
|
|
31
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_31'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_32'/>
|
|
32
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_32'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> @ExceptionHandler(BusinessException.class)</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_33'/>
|
|
33
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_33'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> public ResponseEntity<ApiResult<Void>> handleBusinessException(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_34'/>
|
|
34
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_34'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> BusinessException exception,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_35'/>
|
|
35
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_35'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> HttpServletRequest request</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_36'/>
|
|
36
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_36'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> ) {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_37'/>
|
|
37
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_37'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> log.warn(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_38'/>
|
|
38
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_38'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> "Business exception. exceptionType={} errorCode={} method={} requestPath={}",</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_39'/>
|
|
39
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_39'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> exception.getClass().getSimpleName(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_40'/>
|
|
40
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_40'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> exception.getErrorCode().code(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_41'/>
|
|
41
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_41'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> request.getMethod(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_42'/>
|
|
42
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_42'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> LogSanitizer.requestPath(request.getRequestURI())</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_43'/>
|
|
43
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_43'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> );</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_44'/>
|
|
44
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_44'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_45'/>
|
|
45
|
|
</td>
|
|
<td class='killed'>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_45'>1</a>
|
|
<span>
|
|
1. handleBusinessException : replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleBusinessException → KILLED<br/>
|
|
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class='killed'> return ResponseEntity.status(ApiErrorHttpStatusMapper.map(exception.getErrorCode()))</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_46'/>
|
|
46
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_46'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> .body(apiResultFactory.failure(exception.getErrorCode().code(), exception.getErrorCode().message()));</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_47'/>
|
|
47
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_47'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> }</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_48'/>
|
|
48
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_48'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_49'/>
|
|
49
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_49'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> /**</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_50'/>
|
|
50
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_50'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 응답 직렬화 실패에 대한 정직한 처리.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_51'/>
|
|
51
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_51'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> *</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_52'/>
|
|
52
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_52'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 응답이 이미 커밋된 상태(이미 바이트가 wire에 나간 상태)라면 회복 경로가 없다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_53'/>
|
|
53
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_53'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 같은 직렬화 경로로 본문을 또 쓰려고 하면 동일한 실패가 재발하거나 무시된다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_54'/>
|
|
54
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_54'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 이때는 본문 없는 빈 ResponseEntity(500)를 반환한다 — @ExceptionHandler가 null을</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_55'/>
|
|
55
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_55'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 반환하면 Spring은 "응답이 작성되지 않음"으로 해석해 리졸버 체인으로 재진입할 수 있고,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_56'/>
|
|
56
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_56'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 우리가 막으려는 재귀 실패가 바로 그것이다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_57'/>
|
|
57
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_57'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> *</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_58'/>
|
|
58
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_58'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 응답이 아직 커밋되지 않았다면 표준 ApiResult 본문을 시도한다. 직렬화 실패가</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_59'/>
|
|
59
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_59'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 구조적인 원인이면 2차 시도도 같은 이유로 실패할 수 있는데, 그때는</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_60'/>
|
|
60
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_60'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * @ExceptionHandler(Exception.class) 안전망이 다시 잡아낸다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_61'/>
|
|
61
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_61'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> */</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_62'/>
|
|
62
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_62'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> @ExceptionHandler(HttpMessageNotWritableException.class)</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_63'/>
|
|
63
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_63'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> public ResponseEntity<ApiResult<Void>> handleMessageNotWritableException(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_64'/>
|
|
64
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_64'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> HttpMessageNotWritableException exception,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_65'/>
|
|
65
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_65'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> HttpServletRequest request,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_66'/>
|
|
66
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_66'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> HttpServletResponse response</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_67'/>
|
|
67
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_67'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> ) {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_68'/>
|
|
68
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_68'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> log.error(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_69'/>
|
|
69
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_69'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> "Response body not writable. committed={} method={} requestPath={}",</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_70'/>
|
|
70
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_70'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> response.isCommitted(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_71'/>
|
|
71
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_71'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> request.getMethod(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_72'/>
|
|
72
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_72'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> LogSanitizer.requestPath(request.getRequestURI()),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_73'/>
|
|
73
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_73'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> exception</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_74'/>
|
|
74
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_74'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> );</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_75'/>
|
|
75
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_75'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_76'/>
|
|
76
|
|
</td>
|
|
<td class='killed'>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_76'>1</a>
|
|
<span>
|
|
1. handleMessageNotWritableException : negated conditional → KILLED<br/>
|
|
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class='killed'> if (response.isCommitted()) {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_77'/>
|
|
77
|
|
</td>
|
|
<td class='killed'>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_77'>1</a>
|
|
<span>
|
|
1. handleMessageNotWritableException : replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleMessageNotWritableException → KILLED<br/>
|
|
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class='killed'> return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_78'/>
|
|
78
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_78'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> }</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_79'/>
|
|
79
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_79'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_80'/>
|
|
80
|
|
</td>
|
|
<td class='killed'>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_80'>1</a>
|
|
<span>
|
|
1. handleMessageNotWritableException : replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleMessageNotWritableException → KILLED<br/>
|
|
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class='killed'> return ResponseEntity.status(ApiErrorHttpStatusMapper.map(PresentationErrorCode.MESSAGE_NOT_WRITABLE))</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_81'/>
|
|
81
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_81'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> .body(apiResultFactory.failure(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_82'/>
|
|
82
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_82'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> PresentationErrorCode.MESSAGE_NOT_WRITABLE.code(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_83'/>
|
|
83
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_83'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> PresentationErrorCode.MESSAGE_NOT_WRITABLE.message()</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_84'/>
|
|
84
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_84'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> ));</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_85'/>
|
|
85
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_85'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> }</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_86'/>
|
|
86
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_86'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_87'/>
|
|
87
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_87'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> /**</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_88'/>
|
|
88
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_88'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 더 구체적인 @ExceptionHandler에 매칭되지 않은 모든 예외에 대한 최후의 안전망.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_89'/>
|
|
89
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_89'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> *</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_90'/>
|
|
90
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_90'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 이 핸들러가 없으면 매칭되지 않은 예외는 advice를 우회해 {@code /error}로 흘러가고,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_91'/>
|
|
91
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_91'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * Spring Boot 기본 응답 형태가 반환되어 {@link ApiResult} 계약이 깨진다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_92'/>
|
|
92
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_92'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> *</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_93'/>
|
|
93
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_93'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * 항상 500 + COMMON-999를 반환하고, 알 수 없는 장애 모드를 운영이 식별할 수 있도록</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_94'/>
|
|
94
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_94'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> * ERROR 레벨로 전체 스택트레이스를 남긴다.</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_95'/>
|
|
95
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_95'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> */</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_96'/>
|
|
96
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_96'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> @ExceptionHandler(Exception.class)</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_97'/>
|
|
97
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_97'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> public ResponseEntity<ApiResult<Void>> handleUncaughtException(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_98'/>
|
|
98
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_98'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> Exception exception,</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_99'/>
|
|
99
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_99'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> HttpServletRequest request</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_100'/>
|
|
100
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_100'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> ) {</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_101'/>
|
|
101
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_101'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> log.error(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_102'/>
|
|
102
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_102'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> "Uncaught exception reached @ExceptionHandler safety net. exceptionType={} method={} requestPath={}",</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_103'/>
|
|
103
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_103'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> exception.getClass().getName(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_104'/>
|
|
104
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_104'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> request.getMethod(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_105'/>
|
|
105
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_105'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> LogSanitizer.requestPath(request.getRequestURI()),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_106'/>
|
|
106
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_106'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> exception</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_107'/>
|
|
107
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_107'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> );</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_108'/>
|
|
108
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_108'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''></span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_109'/>
|
|
109
|
|
</td>
|
|
<td class='killed'>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_109'>1</a>
|
|
<span>
|
|
1. handleUncaughtException : replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleUncaughtException → KILLED<br/>
|
|
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class='killed'> return ResponseEntity.status(ApiErrorHttpStatusMapper.map(CommonErrorCode.INTERNAL_SERVER_ERROR))</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_110'/>
|
|
110
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_110'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> .body(apiResultFactory.failure(</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_111'/>
|
|
111
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_111'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> CommonErrorCode.INTERNAL_SERVER_ERROR.code(),</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='covered'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_112'/>
|
|
112
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_112'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class='covered'><pre><span class=''> CommonErrorCode.INTERNAL_SERVER_ERROR.message()</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_113'/>
|
|
113
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_113'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> ));</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_114'/>
|
|
114
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_114'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''> }</span></pre></td></tr>
|
|
|
|
<tr>
|
|
<td class='na'>
|
|
<a name='org.pitest.mutationtest.report.html.SourceFile@d4ab71a_115'/>
|
|
115
|
|
</td>
|
|
<td class=''>
|
|
<span class='pop'>
|
|
<a href='#grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_115'></a>
|
|
<span>
|
|
</span>
|
|
</span>
|
|
</td>
|
|
<td class=''><pre><span class=''>}</span></pre></td></tr>
|
|
|
|
|
|
|
|
<tr><td></td><td></td><td><h2>Mutations</h2></td></tr>
|
|
|
|
<tr>
|
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@d4ab71a_45'>45</a></td>
|
|
<td></td>
|
|
<td>
|
|
|
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_45'/>
|
|
|
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>handleBusinessException<br/><b>Killed by : </b>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleBusinessException_maps_business_error_code_to_status_and_body()]</span></span> replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleBusinessException → KILLED</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@d4ab71a_76'>76</a></td>
|
|
<td></td>
|
|
<td>
|
|
|
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_76'/>
|
|
|
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>handleMessageNotWritableException<br/><b>Killed by : </b>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleMessageNotWritableException_returns_500_when_response_not_committed()]</span></span> negated conditional → KILLED</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@d4ab71a_77'>77</a></td>
|
|
<td></td>
|
|
<td>
|
|
|
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_77'/>
|
|
|
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>handleMessageNotWritableException<br/><b>Killed by : </b>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleMessageNotWritableException_returns_empty_500_when_response_committed()]</span></span> replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleMessageNotWritableException → KILLED</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@d4ab71a_80'>80</a></td>
|
|
<td></td>
|
|
<td>
|
|
|
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_80'/>
|
|
|
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>handleMessageNotWritableException<br/><b>Killed by : </b>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleMessageNotWritableException_returns_500_when_response_not_committed()]</span></span> replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleMessageNotWritableException → KILLED</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href='#org.pitest.mutationtest.report.html.SourceFile@d4ab71a_109'>109</a></td>
|
|
<td></td>
|
|
<td>
|
|
|
|
<a name='grouporg.pitest.mutationtest.report.html.SourceFile@d4ab71a_109'/>
|
|
|
|
<p class='KILLED'><span class='pop'>1.<span><b>1</b><br/><b>Location : </b>handleUncaughtException<br/><b>Killed by : </b>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleUncaughtException_always_returns_500_common_999()]</span></span> replaced return value with null for com/project/auth/presentation/support/exception/ApplicationExceptionHandler::handleUncaughtException → KILLED</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
<h2>Active mutators</h2>
|
|
<ul>
|
|
<li class='mutator'>CONDITIONALS_BOUNDARY</li>
|
|
<li class='mutator'>EMPTY_RETURNS</li>
|
|
<li class='mutator'>FALSE_RETURNS</li>
|
|
<li class='mutator'>INCREMENTS</li>
|
|
<li class='mutator'>INVERT_NEGS</li>
|
|
<li class='mutator'>MATH</li>
|
|
<li class='mutator'>NEGATE_CONDITIONALS</li>
|
|
<li class='mutator'>NULL_RETURNS</li>
|
|
<li class='mutator'>PRIMITIVE_RETURNS</li>
|
|
<li class='mutator'>TRUE_RETURNS</li>
|
|
<li class='mutator'>VOID_METHOD_CALLS</li>
|
|
|
|
</ul>
|
|
|
|
<h2>Tests examined</h2>
|
|
<ul>
|
|
<li>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleBusinessException_maps_business_error_code_to_status_and_body()] (7 ms)</li><li>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleMessageNotWritableException_returns_500_when_response_not_committed()] (2 ms)</li><li>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleMessageNotWritableException_returns_empty_500_when_response_committed()] (15 ms)</li><li>com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest.[engine:junit-jupiter]/[class:com.project.auth.presentation.support.exception.ApplicationExceptionHandlerTest]/[method:handleUncaughtException_always_returns_500_common_999()] (1 ms)</li>
|
|
</ul>
|
|
|
|
<br/>
|
|
|
|
Report generated by <a href='https://pitest.org'>PIT</a> 1.19.1
|
|
|
|
</body>
|
|
</html> |