277278279280281282283284285286287
{ currentPosition = getFilePointer(); } catch (IOException e) { throw new FSReadError(e, filePath); } try { // seek back to the data length position
332333334335336337338339
seek(position); } } catch (IOException e) { throw new FSReadError(e, filePath); } }
737475767778798081
{ fileLength = channel.size(); } catch (IOException e) { throw new FSReadError(e, filePath); } validBufferBytes = -1; // that will trigger reBuffer() on demand by read/seek operations }
135136137138139140141142
validBufferBytes = read; } catch (IOException e) { throw new FSReadError(e, filePath); } }
234235236237238239240241
{ super.close(); } catch (IOException e) { throw new FSReadError(e, filePath); } }
346347348349350351352353354355
{ throw e; } catch (IOException e) { throw new FSReadError(e, filePath); } return ByteBuffer.wrap(buff); }
8889909192939495
{ throw new CorruptSSTableException(e, getPath()); } catch (IOException e) { throw new FSReadError(e, getPath()); } }
207208209210211212213214
{ return new File(filename).getCanonicalPath(); } catch (IOException e) { throw new FSReadError(e, filename); } }
219220221222223224225226
{ return file.getCanonicalPath(); } catch (IOException e) { throw new FSReadError(e, file); } }
153154155156157158159160
return offsets; } catch (IOException e) { throw new FSReadError(e, indexFilePath); } }