-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unblock listeners When Snapshot/Subscription Closed by Caller
- Loading branch information
1 parent
8a8c72b
commit cea8bbb
Showing
4 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
engine/table/src/main/java/io/deephaven/engine/exceptions/RequestCancelledException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* Copyright (c) 2016-2023 Deephaven Data Labs and Patent Pending | ||
*/ | ||
package io.deephaven.engine.exceptions; | ||
|
||
import io.deephaven.UncheckedDeephavenException; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* This exception is used when a result cannot be returned because the request was cancelled. | ||
*/ | ||
public class RequestCancelledException extends UncheckedDeephavenException { | ||
public RequestCancelledException(@NotNull final String message) { | ||
super(message); | ||
} | ||
|
||
public RequestCancelledException(@NotNull final String message, @NotNull final Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters