Exceptions on bad tree operations