Removing getDigits method (unused)
Issue #402: more accurate error / exception handling

Improving error / exception catching so that we can detect projection
coordinates parsing issue (fix proposal for issue #402).
Taking into account remarks from PR #547
Merge pull request #547 from georchestra/issue_402

Fix proposal for issue 402