586587588589590591592593
{ super.close(); } catch (final IOException e) { throw new FileSystemException("vfs.provider/close-outstr.error", file, e); } }
607608609610611612613614615
{ endOutput(); } catch (Exception e) { throw new FileSystemException("vfs.provider/close-outstr.error", file, e); } } }
6566676869707172737475
} final URL url = cl.getResource(resourceName); if (url == null) { throw new FileSystemException("vfs.provider.url/badly-formed-uri.error", uri); } FileObject fo = getContext().getFileSystemManager().resolveFile(url.toExternalForm()); return fo; }
417418419420421422423424425426
*/ void setType(FileType type) throws FileSystemException { if (type != FileType.FOLDER && type != FileType.FILE) { throw new FileSystemException("vfs.provider/filename-type.error"); } this.type = type; }
123124125126127128129130131132133
} } } catch (IOException e) { throw new FileSystemException(e); } finally { closeCommunicationLink(); }
143144145146147148149150
} return tarFile; } catch (IOException e) { throw new FileSystemException(e); } }
168169170171172173174175176177178
{ this.tarFile.close(); } catch (IOException e) { throw new FileSystemException("vfs.provider.tar/close-tar-file.error", file, e); } tarFile = null; } TarInputStream tarFile = createTarFile(this.file); this.tarFile = tarFile;
208209210211212213214215
} return new TarInputStream(new FileInputStream(file)); } catch (IOException ioe) { throw new FileSystemException("vfs.provider.tar/open-tar-file.error", file, ioe); } }
457458459460461462463464465466467
try { final boolean ok = resource.putMethod(webdavTmp.getContent().getInputStream()); if (!ok) { throw new FileSystemException("vfs.provider.webdav/write-file.error", resource.getStatusMessage()); } } finally { // close and delete the temporary file
605606607608609610611612613614615
return; } if (pos < 0) { throw new FileSystemException( "vfs.provider/random-access-invalid-position.error", new Object[]{new Long(pos)}); } if (dis != null) {