Re: Ok.. live and learn.

From: VBDis (vbdis_at_aol.com)
Date: 10/29/04


Date: 29 Oct 2004 03:12:45 GMT

Im Artikel <9ad1o0hlgsg2leha7acq8nu1bj2sghcl2t@4ax.com>, L D Blake
<not@any.adr> schreibt:

>First of all, I think we have very different visions about what Exception
>Handling is supposed to do. In my mind an Exception is catastrophic, it
>means
>the OS is having trouble with my code. I simply wouldn't use exceptions to
>catch line errors in a parser (your example)... I'd create a separate error
>handling mechanism for that entirely.

I think that at this point we can stop further discussion. The different
viewpoints are obvious and, IMO, incompatible. Things can be done in different
ways, and pointing out what's impossible in a different way is quite fruitless.

DoDi



Relevant Pages

  • Re: Practical error/exception handling...
    ... Could I humbly suggest that the requirement for a 'standard' way of handling ... But I only need the exception handler in ... > and is informative to both user and developer when errors occur. ...
    (alt.comp.lang.borland-delphi)
  • Re: Error handling - Resume vs Exit
    ... I always wondered why Access wizards created simple exception ... handling code in the fashion they do. ... Use a separate subroutine for each try block. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Ignore SQL Server 2000 store proc errors and still get results?
    ... catch (Exception ex) ... > You definitely don't want to do 30 round trips by handling the logic ... > temp table in your stored procedure to handle the collection of valid ... >>> expensive in both server and client code. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Rationale behind unwind-protect and double errors
    ... try/finally exception handling system. ... C++ programmers usually use destructors for the same purpose. ... handling, which does not use the mechanism you outline. ...
    (comp.lang.lisp)
  • Re: on error against try..catch
    ... This is one point where try/cast can help as you can catch only those ... exception that are of a given class. ... > in some routine like mousemove, graphical drawing etc i sometimes i use ... >>> if exception handling is better like i think how can i do to pass from ...
    (microsoft.public.dotnet.general)