D-Programming-Language/phobos — pull request #437 by alexrp (2012-02-18 12:17:42+00:00)
Title: Add GetOptException to std.getopt to avoid throwing plain Exception.

This makes the API a little nicer to work with. Throwing plain Exception is not great since it encourages Pokemon exception handling.

This maintains backwards compatibility since GetOptException is an Exception.