Re: Structured exception information
- From: "Randy Brukardt" <randy@xxxxxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 16:55:51 -0600
"Jeffrey Carter" <spam.jrcarter.not@xxxxxxxxxxxxxxxx> wrote in message
Maciej Sobczak wrote:
Another example - imagine that your compiler just prints
"COMPILER_ERROR" instead of everything that it actually prints.
That wouldn't be very funny!
Since Compiler_Error would be an error with the compiler, not with the
source code it was compiling, this would apparently be a compiler that
couldn't compile anything. Now a compiler that just said "Compilation
error" for any errors in the source would be irritating. Might be a good
learning tool, though.
The error handling of early Ada compilers, especially for resolution errors,
was essentially this. You still see it once in a while with complex
expressions where the compiler cannot figure out what it is that you're