forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide more context for failed aggregation operators. (deephaven#5119)
- Loading branch information
Showing
3 changed files
with
228 additions
and
40 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...e/table/src/main/java/io/deephaven/engine/table/impl/by/AggregationOperatorException.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 @@ | ||
package io.deephaven.engine.table.impl.by; | ||
|
||
import io.deephaven.UncheckedDeephavenException; | ||
|
||
/** | ||
* This exception provides more context when an aggregation operator throws an Exception. | ||
* | ||
* <p> | ||
* When an aggregation operator results in an Error, this exception is added as a suppressed exception. | ||
* </p> | ||
*/ | ||
public class AggregationOperatorException extends UncheckedDeephavenException { | ||
public AggregationOperatorException(String reason, Throwable cause) { | ||
super(reason, cause); | ||
} | ||
|
||
public AggregationOperatorException(String reason) { | ||
super(reason); | ||
} | ||
} |
Oops, something went wrong.