]> https://gitweb.dealii.org/ - dealii.git/commit
Get rid of the confusing ExcInvalidConstructorCall exception. 3015/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Aug 2016 16:19:03 +0000 (10:19 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 Aug 2016 16:19:03 +0000 (10:19 -0600)
commitf25aa92682fa675327b4c15f23d4939bc8b41967
tree79d4676fd9a77f7145a32a73c2ebc4218250b8e4
parentebf2554897201c9ea2a5f33110f19b0e76adfc63
Get rid of the confusing ExcInvalidConstructorCall exception.

This exception did not print any useful error message, and it was used in a significant
number of places that just happened to check obscure conditions, without really
explaining in the error message what concretely they were doing. Replace all of these
with ExcMessage and provide explanations what exactly it is that's going wrong.
include/deal.II/base/exceptions.h
include/deal.II/base/point.h
include/deal.II/lac/chunk_sparse_matrix.templates.h
include/deal.II/lac/sparse_matrix.templates.h
include/deal.II/lac/sparse_matrix_ez.h
include/deal.II/lac/sparse_matrix_ez.templates.h
source/base/quadrature_lib.cc
source/lac/dynamic_sparsity_pattern.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.