aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/exceptn.h
Commit message (Collapse)AuthorAgeFilesLines
* Add back the Integrity_Failure exception. For one, removing it causeslloyd2010-03-041-0/+9
| | | | | problems for Monotone, and anyway it is a reasonable exception to have around for signalling MAC validation errors, etc.
* Clean up exceptions. Remove some unused ones like Config_Error. Makelloyd2010-01-051-66/+17
| | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail.
* Remove Exception::set_msg. Inline all exception constructors.lloyd2010-01-041-49/+85
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-64/+66
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Move most of what was left in core to utils (since that is what they are,lloyd2008-11-081-0/+195
basically). buf_comp and data_src might need their own directory, but it doesn't really feel like it.