Skip to content
Snippets Groups Projects
Commit 48c31fad authored by stepan's avatar stepan
Browse files

ErrorContext node implements getErrorContext to avoid NPEs

parent 5666fecd
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