add handle exception
Merge pull request #74 from zlx/feature/53_handle_exceptions

add handle exception