aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/exceptn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Simplify exception messagesJack Lloyd2018-08-221-4/+15
| | | | Remove "Invalid argument" and "Decoding Error" prefixes
* Add a second constructor to Decoding_Error which takes an exception string.Jack Lloyd2017-11-141-0/+3
|
* Add checks that keyed algorithms are actually keyed before useJack Lloyd2017-10-261-0/+4
| | | | | Previously calling update or encrypt without calling set_key first would result in invalid outputs or else crashing.
* Undeprecate these exceptionsJack Lloyd2017-10-191-0/+3
| | | | Cannot figure out how to get MSVC to shut up
* Another attempt at silencing MSVC warningJack Lloyd2017-10-191-4/+0
|
* De-inline bodies of exception classesJack Lloyd2017-10-151-0/+99
This leads to a rather shocking decrease in binary sizes, especially the static library (~1.5 MB reduction). Saves 60KB in the shared lib. Since throwing or catching an exception is relatively expensive these not being inlined is not a problem in that sense. It had simply not occured to me that it would take up so much extra space in the binary.