Matthias Bünger created MCLEAN-116:
--------------------------------------

             Summary: Create interface method to catch exceptions
                 Key: MCLEAN-116
                 URL: https://issues.apache.org/jira/browse/MCLEAN-116
             Project: Maven Clean Plugin
          Issue Type: Improvement
    Affects Versions: 3.3.2
            Reporter: Matthias Bünger


As stated multiple times in the {{Cleaner}} class, the {{Logger}} interface of 
this class does not provide a method to log exceptions and needs a refactoring

{code:java}

// ...
            if (logDebug != null) {
                // TODO: this Logger interface cannot log exceptions and needs 
refactoring
                logDebug.log("Unable to fast delete directory: " + e);
            }

// ...

    private interface Logger {

        void log(CharSequence message);
    }
{code}

_This ticket was created to have this task in the issue tracker_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to