이벤트 order 이벤트 핸들링

This commit is contained in:
kimscott
2019-11-12 15:54:37 +09:00
parent cdf90072b9
commit e40bdab67a

View File

@@ -0,0 +1,11 @@
package com.example.template;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(code = HttpStatus.INTERNAL_SERVER_ERROR) //(reason = "No Available stock!")
public class OrderException extends RuntimeException {
public OrderException(String message) {
super(message);
}
}