www.digitalmars.com         C & C++   DMDScript  

D - Exception analysis

reply "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
I know there's no way this'll be a feature of the compiler, and that's quite
alright. However, I was wondering whether there is anything in the design of
D that would facilitate an exception flow analysis, which would act as if
the exception spec rules of Java were applied to some D source?
Dec 02 2003
parent Chris Sauls <ibisbasenji yahoo.com> writes:
Matthew Wilson wrote:
 I know there's no way this'll be a feature of the compiler, and that's quite
 alright. However, I was wondering whether there is anything in the design of
 D that would facilitate an exception flow analysis, which would act as if
 the exception spec rules of Java were applied to some D source?
 
 
You could probably approximate it by catching, modifying, and then rethrowing the exception. But, really, that'd just be ugly. C. Sauls Invironz
Dec 03 2003