update example for exception objects