wiki:ProgrammingGuidelines

Version 2 (modified by welberge, 8 years ago) (diff)

--

^ElckerlycDocumentation? [PageOutline?]

Exception handling guidelines

  1. Use checked exceptions for exceptions that the client can take useful actions upon. Use RunTimeException? and its subclasses otherwise.
  2. Store information in the exceptions so that the client can use this information in recovering from them (for example: the AudioUnitPlayException? contains the failing AudioUnit?)

^ElckerlycDocumentation?