initial commit

This commit is contained in:
2025-06-12 13:52:55 +02:00
parent 762bb977ac
commit b435c2e5f5
6 changed files with 265 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
package zw.qantra.tm.exceptions;
public class RestException extends RuntimeException {
private String message;
private Object responsePayload;
public RestException(Object responsePayload, String message) {
this.responsePayload = responsePayload;
this.message = message;
}
public Object getResponsePayload() {
return responsePayload;
}
@Override
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}