Skip to content

Commit

Permalink
Provide more context for failed aggregation operators. (deephaven#5119)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpwright authored Feb 20, 2024
1 parent 637d844 commit b31fe87
Show file tree
Hide file tree
Showing 3 changed files with 228 additions and 40 deletions.
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);
}
}
Loading

0 comments on commit b31fe87

Please sign in to comment.