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
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment