Improved exceptions and reporting exceptions for command-line compiler.

of course, I see they have already make it in the codebase.