customer controller updated with exception controlling method