> Is it possible to catch more than 1 type of exception ? I am calling a
> method that can throw different types of exceptions, how do I catch them
> all ?


try
{
}
catch (ExceptionType1 e)
{
}
catch (ExceptionType2 e)
{
}
catch (Exception e)
{
}
finally
{
}


--
Steve Johnson
3t Systems

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to