refactor exception handle by using jsv and decorator pattern