try { // code that may throw an exception } catch (Exception ex) { // code to handle the exception } finally { // code that will always execute, regardless of whether an exception was thrown or not }
try { // code that may throw an exception } catch (Exception ex) { // code to handle the exception } finally { // code that will always execute, regardless of whether an exception was thrown or not }