On 14-04-2012 03:45, Alex Rønne Petersen wrote:
On 14-04-2012 02:13, Andrej Mitrovic wrote:
On 4/14/12, Alex Rønne Petersen<xtzgzo...@gmail.com> wrote:
That sounds like an error in TDPL. AFAIK nothrow means "may only throw
Error".

But Error is a subclass of Throwable.

Which is why I said it's probably an error in TDPL. :P


I.e. nothrow specifically lets you throw anything deriving from Error, nothing else. Anywhere else, you can throw whatever derives from Throwable.

--
- Alex

Reply via email to