private static @NonNls String exceptionContext(@NonNls @NotNull String msg,
                                                 @NotNull Language language,
                                                 @NotNull PsiFile hostPsiFile,
                                                 @NotNull VirtualFile hostVirtualFile,
                                                 @NotNull DocumentEx hostDocument,
                                                 @NotNull List<PlaceInfo> placeInfos, @NotNull PsiDocumentManagerBase documentManager) {
    return msg + ".\n" +
           "OK let's see. Host file: " + hostPsiFile + " in '" + hostVirtualFile.getPresentableUrl() + "' (" + hostPsiFile.getLanguage()+") " +
           (documentManager.isUncommited(hostDocument) ? " (uncommitted)" : "") + "\n" +
           "Was injected " + language +
           " at ranges: " + placeInfos;
  }
private static @NonNls String exceptionContext(@NonNls @NotNull String msg,
                                                 @NotNull Language language,
                                                 @NotNull PsiFile hostPsiFile,
                                                 @NotNull VirtualFile hostVirtualFile,
                                                 @NotNull DocumentEx hostDocument,
                                                 @NotNull List<PlaceInfo> placeInfos, @NotNull PsiDocumentManagerBase documentManager)