@Override public PlayerId from(String s) throws MappingException { ImplementationException.throwForNull(s); try { return PlayerId.valueOf(Integer.parseInt(s)); } catch (final NumberFormatException nfe) { throw new MappingException("Error retrieving id", nfe); } }