Export to GitHub

dxcorecommunityplugins - CR_ExceptionHelper.wiki


Introduction

This plugin provides a single action "Add Exception Handlers" which, when bound to a key and activated, will present you with a list of exceptions which might be thrown by the currently selected code. Select the ones you want to handle and hit 'OK'. A try..catch will be generated around your selected code.

Download

Primary download is http://www.rorybecker.co.uk/DevExpress/Community/Plugins/CR_ExceptionHelper/

Installation

Installation instructions can be found on the InstallInstructions page.

Setup

Bind the "Add Exception Handlers" command to a key.

Usage

  • Activate whilst code is selected.
    • http://dxcorecommunityplugins.googlecode.com/svn/trunk/CR_ExceptionHelper/Screenshots/ExceptionHelperStart.png
  • Check the exceptions you wish to handle and click Ok.
    • http://dxcorecommunityplugins.googlecode.com/svn/trunk/CR_ExceptionHelper/Screenshots/ExceptionHelperFoundExceptions.png
  • Feel smug not having had to type all that code.
    • http://dxcorecommunityplugins.googlecode.com/svn/trunk/CR_ExceptionHelper/Screenshots/ExceptionHelperGenerated.png

Credits

Original Author: Bill McCarthy