Improved exceptions and reporting exceptions for command-line compiler.

That is a one liner, remove {}.