Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #6414

Re: need argument for try catch blocks

From "MikeP" <mp011011@some.org>
Newsgroups comp.lang.c++
Subject Re: need argument for try catch blocks
Date 2011-06-08 07:07 -0500
Organization A noiseless patient Spider
Message-ID <isnomo$dev$1@dont-email.me> (permalink)
References (7 earlier) <ac22f37e-1914-4b15-b041-21ef660e3d99@r1g2000yqg.googlegroups.com> <isleua$btn$1@dont-email.me> <b03008e2-f261-4c7c-b2a9-71166c094f51@r35g2000prj.googlegroups.com> <ismbb6$doq$1@dont-email.me> <error-20110608043608@ram.dialup.fu-berlin.de>

Show all headers | View raw


Stefan Ram wrote:
> "MikeP" <mp011011@some.org> writes:
>> describe an "error" scenario. Well then, that  would be a very much
>
>  What is an error?
>
>  So far, no one has given a general answer.

Yes I have:

> No, what you are describing above is a  "failure": a deviation from
> specifications. "error" precedes that and that is when there is still
> time to do something about the error. An error is the part of the
> system state that may likely lead to failure. An error is the thing
> you notice (detect) that is awry.

Save for the choice of the word 'awry', I think that's right on target 
(and that is in an ancillary sentence anyway). Extracting the meat from 
the above gives:

    An error is the part of the system state that may likely lead to 
failure.

That definition suits me just fine. I welcome other stabs at it, though I 
probably don't have a need to adopt anything different after so long, for 
my own purposes. I didn't come up with the above definition, I learned it 
from somewhere and adopted it as the one I prefer best. I'll bibliograph 
it if I find the source again.


Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-06 05:22 -0500
  Re: need argument for try catch blocks Öö Tiib <ootiib@hot.ee> - 2011-06-06 21:53 -0700
    Re: need argument for try catch blocks Öö Tiib <ootiib@hot.ee> - 2011-06-06 23:48 -0700
      Re: need argument for try catch blocks Öö Tiib <ootiib@hot.ee> - 2011-06-07 00:18 -0700
    Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 07:13 -0500
      Re: need argument for try catch blocks Öö Tiib <ootiib@hot.ee> - 2011-06-07 07:33 -0700
        Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 10:08 -0500
          Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 10:12 -0500
            Re: need argument for try catch blocks Öö Tiib <ootiib@hot.ee> - 2011-06-07 13:59 -0700
              Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 16:48 -0500
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 18:20 -0500
          Re: need argument for try catch blocks Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-07 14:42 -0700
            Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 18:13 -0500
              Re: need argument for try catch blocks Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-07 16:21 -0700
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-07 19:13 -0500
              Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-08 07:07 -0500
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-08 07:12 -0500
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-09 07:19 -0500
                Re: need argument for try catch blocks "io_x" <a@b.c.invalid> - 2011-06-09 21:00 +0200
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-08 15:40 -0500
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-08 16:07 -0500
                Re: need argument for try catch blocks "MikeP" <mp011011@some.org> - 2011-06-09 10:21 -0500

csiph-web