public class CrunchRuntimeException extends RuntimeException
RuntimeException
implementation that includes some additional options
for the Crunch execution engine to track reporting status. Clients may
use instances of this class in their own DoFn
implementations.Constructor and Description |
---|
CrunchRuntimeException(Exception e) |
CrunchRuntimeException(String msg) |
CrunchRuntimeException(String msg,
Exception e) |
Modifier and Type | Method and Description |
---|---|
void |
markLogged()
Indicate that this exception has been written to the debug logs.
|
boolean |
wasLogged()
Returns true if this exception was written to the debug logs.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2016 The Apache Software Foundation. All rights reserved.