TA 역할 Spring 경계 smoke (role-ta-live-v2-001)

This commit is contained in:
forge-bot 2026-07-14 08:00:07 +00:00
parent 29cbeea744
commit 75e67e0a71

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;
}
}