Changed error message in fromString to prevent compilation errors on gcc 4.6.3.