print exception object