Added ErrorCode and _addRedBlackTree(), Enable exception