Error Handling
try
{   
  // try code block - code that may generate an exception
}
catch (Exception ex)
{   
  // catch code block - code to handle an exception
}
finally
{   
  // finally code block - code to clean up resources
}
Throwing Exceptions
throw new FormatException("FormatException: Calculations in process XYZ have been cancelled due to invalid data format.");