mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
4088 fix exception messages to reflect current name of TextFileExtractor class
This commit is contained in:
parent
8a36265b8b
commit
715d34a5d1
@ -59,11 +59,11 @@ final class TextFileExtractor extends ContentTextExtractor {
|
||||
try {
|
||||
detector.setText(stream);
|
||||
} catch (IOException ex) {
|
||||
throw new TextExtractorException("Unable to get string from detected text in UnicodeTextExtractor", ex);
|
||||
throw new TextExtractorException("Unable to get string from detected text in TextFileExtractor", ex);
|
||||
}
|
||||
CharsetMatch match = detector.detect();
|
||||
if (match.getConfidence() < MIN_MATCH_CONFIDENCE) {
|
||||
throw new TextExtractorException("Text does not match any character set with a high enough confidence for UnicodeTextExtractor");
|
||||
throw new TextExtractorException("Text does not match any character set with a high enough confidence for TextFileExtractor");
|
||||
}
|
||||
|
||||
return match.getReader();
|
||||
|
Loading…
x
Reference in New Issue
Block a user