Skip to content
Snippets Groups Projects
Commit 296964c2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Completely rewritten Exception class.

Use insertion operators to allow more explicit messages:

throw Exception() <<"check this vector "<<v;
plumed_error() <<"check this vector "<<v;

The change is completely backward compatible, so the following
still works:

throw Exception("message");
plumed_merror("message");

However, the layout of the error message was slightly modified
parent b47dda9a
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.
Finish editing this message first!
Please register or to comment