Ticket #576 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

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

refactor-owalib.patch (1.7 kB) - added by danielp 4 months ago.

Change History

Changed 4 months ago by danielp

Changed 4 months ago by danielp

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.