MCPcopy Create free account
hub / github.com/castello/spring_basic / MyException

Class MyException

ch2/ExceptionController2.java:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10//@ResponseStatus(HttpStatus.BAD_REQUEST) // 500 -> 400
11class MyException extends RuntimeException {
12 MyException(String msg) {
13 super(msg);
14 }
15 MyException() { this(""); }
16}
17
18@Controller
19public class ExceptionController2 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected