implemented storing of customer settings when sending document
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user