Eric Lippert had a decent blog post[1] back in 2008 on this titled "Vexing Exceptions" with regards to .NET.
[1]: https://ericlippert.com/2008/09/10/vexing-exceptions/