public class WrappingRuntimeException extends FlinkRuntimeException
The exception is recognized (for example by the Task when reporting exceptions as failure causes) and unwrapped to avoid including the wrapper's stack trace in the reports. That way, exception traces are keeping to the important parts.
Constructor and Description |
---|
WrappingRuntimeException(String message,
Throwable cause) |
WrappingRuntimeException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
unwrap()
Recursively unwraps this WrappingRuntimeException and its causes, getting the first
non wrapping exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Throwable unwrap()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.