添加注释和对应的异常

Signed-off-by: xinyue Shi <sxyloading@gmail.com>