Skip to content
Snippets Groups Projects
Commit 181e27a9 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: improve abort/exception handling in error class (#1780)

- previously setting FOAM_ABORT would preempt checks for throwing
  exceptions.

  Now check for throwing first, to allow try/catch code to do its job.
  However, ignore exception throwing for abort(). These are used
  infrequently in the code, but indicate that recovery is deemed
  impossible.

STYLE: use unique_ptr for internal stream buffer management
parent 707b29bb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment