Commit b206cff9 by eguven Committed by Oliver Woodman

FakeExtractorInput: Fix exception type

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=124446331
parent b4746edd
...@@ -212,7 +212,7 @@ public final class FakeExtractorInput implements ExtractorInput { ...@@ -212,7 +212,7 @@ public final class FakeExtractorInput implements ExtractorInput {
throw new EOFException(); throw new EOFException();
} }
if (position + length > data.length) { if (position + length > data.length) {
throw new IOException("Attempted to move past end of data: (" + position + " + " throw new EOFException("Attempted to move past end of data: (" + position + " + "
+ length + ") > " + data.length); + length + ") > " + data.length);
} }
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment