Skip to content

Commit 5fe9798

Browse files
committed
fix: modified mistakes in README
1 parent 9c13a24 commit 5fe9798

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies {
4545

4646
### Exc instantiation and identification of a reason
4747

48-
The following code instantiate a `Exc` and throws it.
48+
The following code instantiates an `Exc` and throws it.
4949

5050
```java
5151
package sample;
@@ -58,7 +58,7 @@ public class SampleClass {
5858

5959
public void sampleMethod() throws Exc {
6060
...
61-
throw new Exc(new InvalidOutOfRange("array", i, 0, array.length));
61+
throw new Exc(new IndexOutOfRange("array", i, 0, array.length));
6262
}
6363
}
6464
```

0 commit comments

Comments
 (0)