This project has retired. For details please refer to its
Attic page .
CrunchRuntimeException (Apache Crunch 0.10.0 API)
org.apache.crunch
Class CrunchRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.crunch.CrunchRuntimeException
All Implemented Interfaces: Serializable
public class CrunchRuntimeException extends RuntimeException
A 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.
See Also: Serialized Form
Method Summary
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.
Methods inherited from class java.lang.Throwable
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
CrunchRuntimeException
public CrunchRuntimeException (String msg)
CrunchRuntimeException
public CrunchRuntimeException (Exception e)
CrunchRuntimeException
public CrunchRuntimeException (String msg,
Exception e)
wasLogged
public boolean wasLogged ()
Returns true if this exception was written to the debug logs.
markLogged
public void markLogged ()
Indicate that this exception has been written to the debug logs.
Copyright © 2014 The Apache Software Foundation . All Rights Reserved.