Improved exceptions and reporting exceptions for command-line compiler.

Since it is a struct, it is public anyway. You might as well remove the public keyword as we did for all other exceptions.