TA 역할 Spring 경계 smoke #5

Open
forge-bot wants to merge 8 commits from forge/role-ta-live-v2-001-attempt-1-run-d1ca4511d09d into main
Showing only changes of commit 75e67e0a71 - Show all commits

View file

@ -0,0 +1,29 @@
package com.runtimematrix.exception;
import java.time.Instant;
public abstract class BusinessException extends RuntimeException {
private final String code;
private final Instant timestamp;
private final String path;
protected BusinessException(String code, String message, String path) {
super(message);
this.code = code;
this.timestamp = Instant.now();
this.path = path;
}
public String getCode() {
return code;
}
public Instant getTimestamp() {
return timestamp;
}
public String getPath() {
return path;
}
}