Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/exceptions/throw.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
In order to throw an exception from your own code, you say `throw`, `new`, then the name
of the exception and `()`.

`RuntimeException` is one of many kinds of exceptions, but you can make do with only
that in your own code for a bit.
`RuntimeException` is one of many kinds of exceptions, but you can get by with just that one for a bit.

```java,panics
void crashesOnFive(int x) {
Expand Down
Loading