From fc6dfa4a2b35a69e75a755730381f967ba587c4f Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 12 May 2016 13:57:42 +0200 Subject: [PATCH] [java] drops excessive logging --- .../src/com/intellij/lang/java/lexer/JavaLexer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/java-psi-impl/src/com/intellij/lang/java/lexer/JavaLexer.java b/java/java-psi-impl/src/com/intellij/lang/java/lexer/JavaLexer.java index 653a304b469b..a82675a706ee 100644 --- a/java/java-psi-impl/src/com/intellij/lang/java/lexer/JavaLexer.java +++ b/java/java-psi-impl/src/com/intellij/lang/java/lexer/JavaLexer.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -181,9 +181,6 @@ public class JavaLexer extends LexerBase { myTokenEndOffset = myFlexLexer.getTokenEnd(); } catch (IOException e) { /* impossible */ } - catch (Error e) { - throw new IllegalArgumentException("Non-parsable text `" + myBuffer + "`", e); - } } private int getClosingParenthesis(int offset, char c) {