galois.runtime
Class WorkNotUsefulException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by galois.runtime.WorkNotUsefulException
All Implemented Interfaces:
Serializable

public class WorkNotUsefulException
extends RuntimeException

This exception is thrown when a piece of work should not be counted as "useful." This can be because it is no longer necessary to process but remains in the worklist until it can be lazily cleaned up. For example, a bad triangle in Delaunay mesh refinement that is removed from the mesh due to the fixing of another triangle will remain in the worklist until it is encountered. This should not count against the amount of useful work to be done.

See Also:
Serialized Form

Method Summary
static void throwException()
          Throws WorkNotUsefulException
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

throwException

public static void throwException()
Throws WorkNotUsefulException