Commit e5b2aeb5 authored by 小呆's avatar 小呆 Committed by Stephane Nicoll

Remove redundant throws Exception

Closes gh-15645
parent 4670770d
......@@ -614,7 +614,7 @@ then add a file named `src/main/java/Example.java` to contain the following code
return "Hello World!";
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication.run(Example.class, args);
}
......
......@@ -3080,7 +3080,7 @@ following example:
return application.sources(Application.class);
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment