Completed
Pull Request — dev (#306)
by Konstantin
08:27
created

easytests.api.v1.exceptions.BadRequestException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A BadRequestException(String) 0 2 1
1
package easytests.api.v1.exceptions;
2
3
import org.springframework.http.HttpStatus;
4
import org.springframework.web.bind.annotation.ResponseStatus;
5
6
7
/**
8
 * @author malinink
9
 */
10
@ResponseStatus(code = HttpStatus.BAD_REQUEST)
11
public class BadRequestException extends Exception {
12
    public BadRequestException(String reason) {
13
        super(reason);
14
    }
15
}
16