Ticket #576 (closed enhancement: fixed)
Refactoring: clean up factory method
| Reported by: | danielp | Owned by: | padams |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | base module | Version: | |
| Keywords: | refactoring | Cc: |
Description
I removed the mixed return types since this causes undesired errors when using the factory to create objects.
Instead I added guard exceptions that give speaking error messages.
This should help also to get feedback on correct class names when writing own modules.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
