amehat:

What is the proper behavior for this D?

D doesn't have that Java syntax, because it was widely regarded as a Java design mistake. So in D omit the throws part. If your function tree doesn't throw exceptions (but it can throw errors) add a "nothrow".

Bye,
bearophile

Reply via email to