A special flag to control whether to allow of throwing "deactivated ancestor" exception or not, defaults to false.
static bool allowThrowingUnsafeAncestorException = false;