Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently the SimpleErrorReporter first evaluates the error condition and builds up a detailed message, and finally writes it to the log (if warnEnabled).
To allow more control and further usage of the resulting detailed message by subclasses I'm going to move the final step, logging the message, to a separate (protected) handleErrorMessage method.
So the behavior of SimpleErrorReporter itself won't change, but subclasses now can do something extra/meaningful beyond mere logging with the error message.