removed DomainException from ReversePolishNotation