Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created November 7, 2022 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/1d85848162faa80020200ab83ad4ddf4 to your computer and use it in GitHub Desktop.
Save IntegerMan/1d85848162faa80020200ab83ad4ddf4 to your computer and use it in GitHub Desktop.
try
{
// Do something that might cause an exception
}
catch (IOException ex)
{
// We decide we don't really want to handle this exception
// Let's re-throw it so calling methods can catch it
throw ex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment