Thread overview | |||||
---|---|---|---|---|---|
|
October 29, 2012 Exception class descendants | ||||
---|---|---|---|---|
| ||||
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? |
October 29, 2012 Re: Exception class descendants | ||||
---|---|---|---|---|
| ||||
Posted in reply to ref2401 | 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
|
October 29, 2012 Re: Exception class descendants | ||||
---|---|---|---|---|
| ||||
Posted in reply to ref2401 | 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
|
Copyright © 1999-2021 by the D Language Foundation