Skip to content

Commit 348fac8

Browse files
committed
Remove IOE
1 parent 99a9968 commit 348fac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/cache

x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/cache/CacheDirectory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public CacheBufferedIndexInput clone() {
218218
}
219219

220220
@Override
221-
public IndexInput slice(String sliceDescription, long offset, long length) throws IOException {
221+
public IndexInput slice(String sliceDescription, long offset, long length) {
222222
if (offset < 0 || length < 0 || offset + length > this.length()) {
223223
throw new IllegalArgumentException("slice() " + sliceDescription + " out of bounds: offset=" + offset
224224
+ ",length=" + length + ",fileLength=" + this.length() + ": " + this);

0 commit comments

Comments
 (0)