splitted database from account
This commit is contained in:
@ -44,6 +44,10 @@ public class APIException extends RuntimeException {
|
||||
public APIException(APIError apiError, Locale locale, String rootCause) {
|
||||
httpResponse = createHttpResponse(new APIErrorResponse(apiError, locale, rootCause));
|
||||
}
|
||||
|
||||
public APIException(APIError apiError, String locale, String rootCause) {
|
||||
httpResponse = createHttpResponse(new APIErrorResponse(apiError, new Locale(locale), rootCause));
|
||||
}
|
||||
|
||||
public APIException(Exception exception, Locale locale) {
|
||||
httpResponse = createHttpResponse(new APIErrorResponse(exception, locale));
|
||||
|
||||
Reference in New Issue
Block a user