void (@NotNull PyRaiseStatement node) { if (node.getExpressions().length == 0 && PsiTreeUtil.getParentOfType(node, PyExceptPart.class, PyFinallyPart.class, PyFunction.class) == null) { markError(node, PyPsiBundle.message("ANN.no.exception.to.reraise")); } }