improve exception message

This commit is contained in:
Mike McCandless 2017-01-09 05:48:29 -05:00
parent b9827bcba9
commit d7beb0f147
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ public class MMapDirectory extends FSDirectory {
" [Please grant at least the following permissions: RuntimePermission(\"accessClassInPackage.sun.misc\") " +
" and ReflectPermission(\"suppressAccessChecks\")]";
} catch (ReflectiveOperationException | RuntimeException e) {
return "Unmapping is not supported on this platform, because internal Java APIs are not compatible to this Lucene version: " + e;
return "Unmapping is not supported on this platform, because internal Java APIs are not compatible with this Lucene version: " + e;
}
}