Simplified exception handler and moved checks. Updated error message.
Simplified exception handler and moved checks. Updated error message.

numba/numba,numba/numba,cpcloud/numba,cpcloud/numba,numba/numba,numba/numba,IntelLabs/numba,cpcloud/numba,IntelLabs/numba,IntelLabs/numba,numba/numba,cpcloud/numba,IntelLabs/numba,cpcloud/numba,IntelLabs/numba