Created
June 27, 2014 21:28
-
-
Save einarwh/c737144745ff7e20a88b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quux SafeMethod3() { | |
try { | |
return Call(() => Method3(), | |
ex => // Handle SomeException, | |
ex => // Handle SomeOtherException, | |
ex => // Handle YetAnotherException, | |
ex => // Handle Exception | |
); | |
} | |
catch (IdiosyncraticException ex) { | |
// Do something. | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment