Skip to content

Commit b1bf712

Browse files
committed
fix some doc/typo
1 parent d7904ef commit b1bf712

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

md/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class App extends Jooby { // 1.
1717
get("/", () -> "Hello");
1818
}
1919

20-
public static void main(String[] args) throws Exception {
20+
public static void main(String[] args) throws Throwable {
2121
// 3. run my app
2222
run(App::new, args);
2323
}

md/doc/whoops/whoops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The pretty error page handler is available in development mode: ```application.e
3939

4040
## custom err pages
4141

42-
The pretty error page is implemented via [err(req, rsp, err)]({{defdocs}}/Routes.html#err-org.jooby.Err.Handler-). You might run into troubles if your application require custom error pages. On those cases you probably won't use this module or if apply one of the following options:
42+
The pretty error page is implemented via [err(req, rsp, err)]({{defdocs}}/Routes.html#err-org.jooby.Err.Handler-). You might run into troubles if your application require custom error pages. On those cases you probably won't use this module or apply one of the following options:
4343

4444
### whoops as last err handler
4545

md/jooby-lang.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class App extends Jooby {
1111
get("/", () -> "Hey Jooby!");
1212
}
1313

14-
public static void main(final String[] args) throws Exception {
14+
public static void main(final String[] args) throws Throwable {
1515
run(App::new, args);
1616
}
1717
}

md/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class App extends Jooby { // 1
9898
get("/", () -> "Hello World!");
9999
}
100100

101-
public static void main(final String[] args) throws Exception {
101+
public static void main(final String[] args) throws Throwable {
102102
run(App::new, args); // 3. start the application.
103103
}
104104

0 commit comments

Comments
 (0)