Adding sonatype repository.
Updated exception handler to something fool-proof.