Leopold Toetsch wrote:
Kj <[EMAIL PROTECTED]> wrote:But what is actually an internal error? (are those "this-should-never-happen"
Hello,
Just wondering (again), in order to be able to follow discussion on matters:
What is the difference between an "internal" exception and a "real"
exception (as if the
first one isn't a real exception...).
The internal ones are mostly unclassified real exceptions. Some of them are internal errors, though. We'll have to go through the whole code and convert most of the internal_exceptions to real_exception with an appropriate exception type.
situations that are not expected?
A real exception is an exception within the VM that can be caught by user
programs (right?). What should happen with an internal error? Is an internal
error an error ... ehm within the VM :-P ?
I suspect a "real" exception is a exception object that a user program
also can
create (so try/catch/finally blocks translate to Real Exceptions being
thrown).
Yep. Exceptions thrown by real_exception are catchable and of course creatable by the user.
Thanks,
Klaas-Jan
leo
klaas-jan