Skip to content

Commit 498b1e4

Browse files
committed
Split explanation of Errors into separate lines
1 parent 746fae7 commit 498b1e4

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

concepts/exceptions/about.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ All exceptions in Java that inherit from `RuntimeException` are unchecked except
3333

3434
## Errors
3535

36-
Java also has a separate category called _Errors_ which are serious problems that are external to an application. An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
36+
Java also has a separate category called _Errors_ which are serious problems that are external to an application.
37+
An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
3738

38-
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code. Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
39+
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code.
40+
Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
3941

4042
All errors in Java inherit from the `Error` class.
4143

concepts/exceptions/introduction.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ All exceptions in Java that inherit from `RuntimeException` are unchecked except
3333

3434
## Errors
3535

36-
Java also has a separate category called _Errors_ which are serious problems that are external to an application. An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
36+
Java also has a separate category called _Errors_ which are serious problems that are external to an application.
37+
An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
3738

38-
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code. Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
39+
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code.
40+
Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
3941

4042
All errors in Java inherit from the `Error` class.
4143

exercises/concept/calculator-conundrum/.docs/introduction.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ All exceptions in Java that inherit from `RuntimeException` are unchecked except
3535

3636
### Errors
3737

38-
Java also has a separate category called _Errors_ which are serious problems that are external to an application. An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
38+
Java also has a separate category called _Errors_ which are serious problems that are external to an application.
39+
An example of an error is the `OutOfMemoryError` which occurs when an application is trying to use more memory than is available on the system.
3940

40-
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code. Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
41+
Like unchecked exceptions, errors are not checked at compile-time and are not usually thrown from application code.
42+
Unlike exceptions, Errors represent serious system-level problems that applications should generally not attempt to catch or handle.
4143

4244
All errors in Java inherit from the `Error` class.
4345

0 commit comments

Comments
 (0)