mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics
This commit is contained in:
@@ -145,7 +145,7 @@ public class PsiFileFactoryImpl extends PsiFileFactory {
|
||||
FileTypeManager fileTypeManager = FileTypeManager.getInstance();
|
||||
FileType type = fileTypeManager.getFileTypeByFileName(name);
|
||||
if (type.isBinary()) {
|
||||
throw new RuntimeException("Cannot create binary files from text");
|
||||
throw new RuntimeException("Cannot create binary files from text: name " + name + ", file type " + type);
|
||||
}
|
||||
|
||||
return createFileFromText(name, type, text);
|
||||
|
||||
Reference in New Issue
Block a user