add exception controller

Signed-off-by: wormchaos <wormchaos@126.com>