use of io.vertx.up.exception._400ValidationException in project vertx-zero by silentbalanceyh.
the class Validator method replyError.
private <T> void replyError(final T proxy, final Method method, final ConstraintViolation<T> item) {
if (null != item) {
final WebException error = new _400ValidationException(this.getClass(), proxy.getClass(), method, item.getMessage());
error.setReadible(item.getMessage());
throw error;
}
}
Aggregations