Skip to content
Snippets Groups Projects
Commit 64302627 authored by Stepan Sindelar's avatar Stepan Sindelar
Browse files

[GR-2798] ErrorContext node implements getErrorContext to avoid NPEs.

parents d0a9fcaa 48c31fad
Branches
No related tags found
No related merge requests found
......@@ -74,6 +74,11 @@ public final class RError extends RuntimeException {
private ErrorContext() {
// private constructor
}
@Override
protected RBaseNode getErrorContext() {
return this;
}
}
private static final class ErrorContextImpl extends ErrorContext {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment