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.
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.