]> https://gitweb.dealii.org/ - dealii.git/commit
Make exception messages more consistent. 3205/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 23:32:17 +0000 (17:32 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 5 Oct 2016 12:56:08 +0000 (06:56 -0600)
commit436dbd7364cc23341ac7dffc685c9d094e6815ba
treec0a159bfb1571f8ada4ed961c4b543ca1ef64f1a
parentf1464f15f7478350a1b0ffa6848dc4ecccb78ed5
Make exception messages more consistent.

In particular, change the following two things: (i) Say 'Additional information'
instead of 'Additional Information' because the rest of the text is also
capitalized in the common way. (ii) Indent the actual (additional) error text
by four characters, just like the other additional pieces of information.

The result is that errors now look like this:

--------------------------------------------------------
An error occurred in line <710> of file </home/fac/f/bangerth/p/deal.II/1/install/examples/step-6/step-6.cc> in function
    int main()
The violated condition was:
    false
Additional information:
    abcdef

Stacktrace:
-----------
#0  ./step-6: main
--------------------------------------------------------
include/deal.II/base/exceptions.h
source/base/exceptions.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.