mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Disable stacktrace for ParserException to improve performance.
Class also marked as final, as it has to be GitOrigin-RevId: dd4540b903606d1158a0b41d5c88fc9e0703b514
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e3af08747
commit
8d7df7dd7d
+6
-1
@@ -20,7 +20,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* @author vlan
|
||||
*/
|
||||
public class ParserException extends Exception {
|
||||
public final class ParserException extends Exception {
|
||||
@NotNull private final FunctionalParserBase.State myState;
|
||||
|
||||
public ParserException(@NotNull String message, @NotNull FunctionalParserBase.State state) {
|
||||
@@ -32,4 +32,9 @@ public class ParserException extends Exception {
|
||||
FunctionalParserBase.State getState() {
|
||||
return myState;
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized Throwable fillInStackTrace() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user