/** * Set the exception. * Listener notifications occur on calling thread of this method. * @param exception The exception. */ public boolean setExceptionIfUndone(Exception exception) { return doSetException(exception, true); }
/** * Set the exception. * Listener notifications occur on calling thread of this method. * @param exception The exception. */ public void setException(Exception exception) { doSetException(exception, false); }