Added the code to raise exception when the illegal view controllers are set to the popover.