Listing all exceptions in the framework

From IronPython Cookbook

Contents

Description

I found no complete listing of the exceptions in the msdn .net framework or mono documentation, so I whipped up this script, which lists all available exceptions from the GAC. It's rudimentary, and could use some nicer output options, but it gets the job done.

Where to get it

You can find the most recent version of the script here.

Usage and explanations

The script iterates all assemblies in the gac, extracting the types that contains exception definitions, and listing them.

Please remember to set the correct path to the GAC.

The script is only tested on debian linux.

Bugs and requests

Please send a mail with subject ironpython:bug or ironpython:feat to: python at remove_me_and_whitespace manniche . net

TOOLBOX
LANGUAGES