Steve Teale wrote: > Daniel Keep Wrote: > >> >> Steve Teale wrote: >>> ... >>> >>> What is the point of class Throwable if you can throw any old class object? >> What class Throwable? > > dmd\src\druntime\src\compiler\dmd\object_.d > >> -- Daniel
Ah. Well, if I had to guess, I'd say it was because Throwable objects are more useful than random objects of other types. Object doesn't give you msg, file, line, info or next. -- Daniel
