79355695

Date: 2025-01-14 16:39:21
Score: 0.5
Natty:
Report link

I think you don't need to define fields that define task attributes in the exception class either through the constructor or using the builder pattern.

In the vast majority of cases, you won't need to get them from the corresponding exception object.


P.S. If you really want to have this data in the exception object, define a constructor that takes one parameter - the search criteria object.

Reasons:
  • No code block (0.5):
Posted by: nik0x1