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
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
CrunchRuntimeException(Exception e)
           
CrunchRuntimeException(String msg)
           
CrunchRuntimeException(String msg, Exception e)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrunchRuntimeException

public CrunchRuntimeException(String msg)

CrunchRuntimeException

public CrunchRuntimeException(Exception e)

CrunchRuntimeException

public CrunchRuntimeException(String msg,
                              Exception e)
Method Detail

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.