Geotools Tutorial code fixes

This method is throwing an exception, so no need to try/catch this one.