add exception handling at main
	modified:   ../as2/main.cpp