Add a example for handle exception by using domain.