public class ParIteratorException<E>
extends java.lang.Object
Exception
, but simply a wrapper to encapsulate the various information when an exception is registered.
See also ParIterator.register(Exception)
and ParIterator.getAllExceptions()
.
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Returns the
Exception that was registered. |
E |
getIteration()
The element that the thread was processing (or due to process) at the time the exception was registered.
|
java.lang.Thread |
getRegisteringThread()
The
Thread that registered the exception. |
public java.lang.Exception getException()
Exception
that was registered.public E getIteration()
ParIterator.hasNext()
method.public java.lang.Thread getRegisteringThread()
Thread
that registered the exception. For meaningful debugging, the thread that registers the exception should also
be the thread that caught the exception.Thread
that registered the exception.