Changed exit codes for exceptions.