}
catch (RuntimeException e) // common parent of NumberFormatException & ParserException
{
TextPosition pos = (e instanceof TextPositionHolder) ? ((TextPositionHolder)e).getTextPosition() : getCurTokenPos();
throw new ParserException("err.scripting.invalidMatchExpression", new Object[]
{
sExpression
}, e, pos);
}
finally