Example usage for org.apache.commons.vfs2 VfsLog warn

List of usage examples for org.apache.commons.vfs2 VfsLog warn

Introduction

In this page you can find the example usage for org.apache.commons.vfs2 VfsLog warn.

Prototype

public static void warn(final Log vfslog, final Log commonslog, final String message, final Throwable t) 

Source Link

Document

warning.

Usage

From source file:org.ysb33r.groovy.vfsplugin.cpio.CpioFileSystem.java

@Override
protected void doCloseCommunicationLink() {
    // Release the Cpio file
    try {/*from w w  w  .  j a  va2 s .co  m*/
        if (cpioFile != null) {
            cpioFile.close();
            cpioFile = null;
        }
    } catch (final IOException e) {
        // getLogger().warn("vfs.provider.Cpio/close-Cpio-file.error :" + file, e);
        VfsLog.warn(getLogger(), LOG, "vfs.provider.Cpio/close-Cpio-file.error :" + file, e);
    }
}