Improve exception handling and update copyright notice.

rename this variable. (to ignore)