@Override
  public Byte validate(String fieldName, String value) throws ValidationException {
    if (value == null) {
      return null;
    }
    try {
      return Byte.parseByte(value);
    } catch (NumberFormatException e) {
      throw new ValidationException(fieldName, value, "not a valid byte", e);
    }
  }