package saker.util.thread
Exception thrown by task runners when a task failed to successfully complete, i.e. threw an exception.
This exception is specified to have no message, and no cause. The exceptions that caused this exception to be thrown are suppressed and can be retrieved by calling Throwable.getSuppressed().
The suppression mechanism was chosen to make the cause exceptions accessible, as multiple causes can be present, and having only a single cause would be semantically incorrect.
public | Creates a new instance, without cause or message. |
Creates a new instance, without cause or message.
The causes should be added as suppressed exceptions.