archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/archiva/common/utils/IOStatus.java
/**
     * Adds an error to the status collection.
     *
     * @param path the file path
     * @param e the exception thrown during the file operation
     */
Adds an error to the status collection.
@param path the file path
@param e the exception thrown during the file operation
Adds an error to the status collection . @param path the file path @param e the exception thrown during the file operation
public void addError( Path path, IOException e) {
        if (errorList==null) {
            errorList = new TreeMap<>( );
        }
        errorList.put( path, e );
    }
public void addError ( Path path , IOException e ) { if ( errorList == null ) { errorList = new TreeMap < > ( ) ; } errorList . put ( path , e ) ; }
Adds an error to the status collection.
Adds an error to the status collection .