final Parser<String> parser = new Parser<String>() {
@Override
public String parseTextEntry(final Object contextPojo, final String entry, Localization localization) {
if (entry.equals("invalid")) {
throw new ParsingException();
}
if (entry.equals("number")) {
throw new NumberFormatException();
}
if (entry.equals("format")) {