implemented storing of customer settings when sending document

This commit is contained in:
2025-07-17 23:24:57 +02:00
parent 763e5b447b
commit 67cb0b61b6
6 changed files with 55 additions and 32 deletions

View File

@@ -23,6 +23,7 @@ public class UmbrellaException extends Exception{
this.statusCode = statusCode;
}
public UmbrellaException causedBy(Exception e) {
initCause(e);
return this;
@@ -59,4 +60,8 @@ public class UmbrellaException extends Exception{
public int statusCode(){
return statusCode;
}
public static UmbrellaException unprocessable(String message, Object... fills) {
return new UmbrellaException(HTTP_UNPROCESSABLE,message,fills);
}
}