Use std::runtime_error instead of our own StringError as
authorCarl Hetherington <cth@carlh.net>
Mon, 19 Oct 2015 22:30:04 +0000 (23:30 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 19 Oct 2015 22:30:04 +0000 (23:30 +0100)
commit6ea37804a7f9dd72a29a25e7594a39fa47f53192
treeb78bfdc3ef2ba3d61dfb3ce0930f741ec92548a3
parentf6b789850b0cd50971707084632c4ec08e145d0f
Use std::runtime_error instead of our own StringError as
a) it does the same job and
b) its type and what() survive the boundary between the libdcp .so
and the main DCP-o-matic executable.

Before this StringError-derived exceptions caught by DCP-o-matic
were only recognised as std::exceptions (without the what()) message.

I don't know why this happens, but this works around it.
src/certificate_chain.cc
src/exceptions.cc
src/exceptions.h