@Override
  public T validate(String fieldName, T value) throws ValidationException {
    if (value == null) {
      return null;
    }
    if (min.compareTo(value) >= 0) {
      throw new ValidationException(fieldName, value, "must be greater than " + min);
    }
    return value;
  }