Chained Catch Statements

Trass3r un at known.com
Mon Jan 30 06:41:42 PST 2012


> What is the idiom for handling
> a case where multiple exceptions of different types may be thrown?

I think you could catch a common baseclass like Exception and test if it's  
a specific Exception by casting.


More information about the Digitalmars-d-learn mailing list