digitalmars.D.learn - Exception class descendants
- ref2401 (3/3) Oct 29 2012 Could you please tell me if Phobos contains any Exception class
- bearophile (5/7) Oct 29 2012 Andrei doesn't lover of hierarchies of exceptions. But there was
- Jonathan M Davis (7/10) Oct 29 2012 Some modules declare exception types that they use (e.g. std.file.FileEx...
Could you please tell me if Phobos contains any Exception class descendants? If so, does the documentation contain a full list of these or even the hierarchy scheme?
Oct 29 2012
ref2401:Could you please tell me if Phobos contains any Exception class descendants?Andrei doesn't lover of hierarchies of exceptions. But there was a discussion to add some commonly useful exceptions to Phobos. Bye, bearophile
Oct 29 2012
On Monday, October 29, 2012 14:55:41 ref2401 wrote:Could you please tell me if Phobos contains any Exception class descendants? If so, does the documentation contain a full list of these or even the hierarchy scheme?Some modules declare exception types that they use (e.g. std.file.FileException and std.utf.UTFException), but there are very few which aren't derived directly from Exception, and for the most part, they're only used by the module which declares them. There was some discussion a while back of improving the hierarchy a bit, but it's never happened. - Jonathan M Davis
Oct 29 2012