Exception handling

Gosu supports the standard exception handling constructions in typical use in many programming languages such as the following:
  • try...catch...finally blocks
  • throw statements

In addition to these types of exception handling statements, Gosu also provides a special using statement that is a more compact form of the try...catch...finally block.