Package org.apache.beam.sdk.transforms
Class WithFailures.ExceptionElement<T>
java.lang.Object
org.apache.beam.sdk.transforms.WithFailures.ExceptionElement<T>
- Enclosing class:
WithFailures
The value type passed as input to exception handlers. It wraps an exception together with the
input element that was being processed at the time the exception was raised.
Exception handlers may want to re-raise the exception and catch only specific subclasses in order to limit the scope of handled exceptions or access subclass-specific data.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExceptionElement
public ExceptionElement()
-
-
Method Details
-
element
-
exception
-
of
-