Exception ex) {
if (!(handler instanceof HandlerMethod)) {
return null;
}
RestAPI methodAnnotation = ((HandlerMethod) handler).getMethodAnnotation(RestAPI.class);
if (methodAnnotation == null) {
return null;
}
JsonObject object = new JsonObject();
object.addProperty(JSON_SUCCESS, false);