Spring Boot2 (6) – Spring Exception Handling with ControllerAdvice

This commit is contained in:
kimyonghwa
2019-04-13 00:40:28 +09:00
parent bef447b6b8
commit f17ec807b5
3 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
package com.rest.api.advice.exception;
public class CUserNotFoundException extends RuntimeException {
public CUserNotFoundException(String msg, Throwable t) {
super(msg, t);
}
public CUserNotFoundException(String msg) {
super(msg);
}
public CUserNotFoundException() {
super();
}
}