/** * <p>Add an error to this reply. This method will also trace the error as long as there is any tracing * enabled.</p> * * @param error The error object to add. */ public void addError(Error error) { errors.add(error); getTrace().trace(TraceLevel.ERROR, error.toString()); }
errors.append("\n"); errors.append(error.toString()); shouldRetry = resender != null && resender.canRetry(errorCode); if (!shouldRetry) {