galois.runtime
Class WorkNotUsefulException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
throwException
public static void throwException()
- Throws
WorkNotUsefulException