Changed error message in fromString to prevent problems with gcc 4.6.3