Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Better error handling for plugin factories

#60

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.

Reported by David Cox · October 1st, 2010 @ 10:57 AM

State: resolved
Milestone: none
Assigned to: Christopher Stawarz Christopher Stawarz

Activity

  1. Christopher Stawarz
    Christopher Stawarz
    • State changed from new to open
    • Milestone cleared.

    April 8th, 2011 @ 10:43 AM

  2. Christopher Stawarz
    Christopher Stawarz
    • 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

    October 17th, 2012 @ 11:05 AM

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.