unreported exception java.lang.Exception; must be caught or declared to be thrown code example
Example: unreported exception ServletException; must be caught or declared to be thrown
public static void main(String[] args) throws Exception
public static void main(String[] args) throws Exception