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

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

Introduction

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

Prototype

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

Source Link

Document

warning

Usage

From source file:com.github.stephenc.javaisotools.vfs.provider.iso.IsoFileSystem.java

/**
 * Closes the underlying .iso file.//from  w w w  . jav  a  2  s . c  o  m
 */
protected void doCloseCommunicationLink() {
    if (null != this.fileSystem && !this.fileSystem.isClosed()) {
        try {
            this.fileSystem.close();
        } catch (IOException ex) {
            VfsLog.warn(getLogger(), log, "vfs.provider.iso/close-iso-file.error :" + this.fileSystem, ex);
        }
    }
}