Skip to content

Commit 4dc4c07

Browse files
Update src/main/java/engineering/swat/watch/Watch.java
Co-authored-by: sungshik <16154899+sungshik@users.noreply.github.com>
1 parent e7e2d3f commit 4dc4c07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/engineering/swat/watch/Watch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public Watch onOverflow(Approximation whichFiles) {
184184

185185
private void validateOptions() throws IOException {
186186
if (this.eventHandler == EMPTY_HANDLER) {
187-
throw new IllegalStateException("There is no onEvent handler defined");
187+
throw new IllegalStateException("There is no `on` handler defined");
188188
}
189189
if (!Files.exists(path)) {
190190
throw new FileSystemException(path.toString(), null, "Cannot open a watch on a non-existing path");

0 commit comments

Comments
 (0)