Throw an exception when a node is not supported.