Remove "throws" in Main class.