try {
return new UndeclaredInputEffectiveStatement(flags, substatements, stmt.wrapSchemaPath());
} catch (SubstatementIndexingException e) {
- throw new SourceException(e.getMessage(), stmt.sourceReference(), e);
+ throw new SourceException(e.getMessage(), stmt, e);
}
}
}