rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

check_error (irrecoverable assertion failure) vs. check_runtime_error (recoverable runtime error) #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

check_error seems to be used to address at least a couple scenarios :

- to specify debug assertions (extra checks that catch run-time errors, and
that can be compiled out depending on the debug level) - to specify
run-time errors which a client (of the method that contains the check_error
statement) could choose to ignore or recover from.

we need to have at least 2 versions of check_error (a second one could be
called check_runtime_error), where the second one will throw an exception
that the client can choose to ignore/recover from. we need to go through
the code and classify all the calls to check_error (is it an irrecoverable
failure? or a run-time error?) appropriately.

Mike : let's discuss briefly in some more detail when you're ready to
tackle this. - Javier

Original issue reported on code.google.com by miata...@gmail.com on 15 Sep 2009 at 3:23

GoogleCodeExporter commented 9 years ago

Original comment by miata...@gmail.com on 15 Sep 2009 at 3:24