Better error handling for plugin factories
Reported by David Cox | October 1st, 2010 @ 10:57 AM
Currently, errors in the construction of plugin objects (in plugin factories) tend to produce unhelpful error messages (e.g. if a required attribute is missing, error messages do not indicate that this is the problem, much less which attribute is missing). The onus is now on the plugin developer to handle errors gracefully; however with proper exception handling, it should be possible to manage error handling is a consistent way for all plugins.
Comments and changes to this ticket
-
Christopher Stawarz April 8th, 2011 @ 10:43 AM
- State changed from new to open
- Milestone cleared.
-
Christopher Stawarz October 17th, 2012 @ 11:05 AM
- State changed from open to resolved
- Assigned user set to Christopher Stawarz
StandardComponentFactory
and related classes now provide uniform, reliable parameter validation and error reporting for plugins
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite