Example usage for org.apache.commons.vfs2 FileSystemException getClass

List of usage examples for org.apache.commons.vfs2 FileSystemException getClass

Introduction

In this page you can find the example usage for org.apache.commons.vfs2 FileSystemException getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:org.luwrain.app.commander.PanelArea.java

boolean openLocalPath(String path) {
    NullCheck.notNull(path, "path");
    try {//w ww.  j  a v  a 2 s  . c om
        open(CommanderUtilsVfs.prepareLocation((CommanderUtilsVfs.Model) getCommanderModel(), path));
        return true;
    } catch (org.apache.commons.vfs2.FileSystemException e) {
        Log.error("commander", "opening " + path + ":" + e.getClass().getName() + ":" + e.getMessage());
        return false;
    }
}

From source file:org.luwrain.app.commander.PanelArea.java

boolean openInitial(String path) {
    NullCheck.notNull(path, "path");
    try {/* w w  w . j  av  a 2  s  .c  om*/
        return open(CommanderUtilsVfs.prepareLocation((CommanderUtilsVfs.Model) getCommanderModel(), path),
                false);
    } catch (org.apache.commons.vfs2.FileSystemException e) {
        Log.error("commander", "opening " + path + ":" + e.getClass().getName() + ":" + e.getMessage());
        return false;
    }
}