You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ate Douma (JIRA)" <ji...@apache.org> on 2013/12/13 01:56:07 UTC

[jira] [Created] (SCXML-184) Allow subclasses of SimpleErrorReporter to override the current and only logging handling

Ate Douma created SCXML-184:
-------------------------------

             Summary: Allow subclasses of SimpleErrorReporter to override the current and only logging handling
                 Key: SCXML-184
                 URL: https://issues.apache.org/jira/browse/SCXML-184
             Project: Commons SCXML
          Issue Type: Improvement
            Reporter: Ate Douma
            Assignee: Ate Douma
            Priority: Minor
             Fix For: 2.0


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.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)