SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_SVN_MALFORMED_DATA, "Malformed error list");
SVNErrorManager.error(err, SVNLogType.NETWORK);
}
List errorItems = parseTuple(DEAFAULT_ERROR_TEMPLATE, item.getItems(), null);
int code = ((Long) errorItems.get(0)).intValue();
SVNErrorCode errorCode = SVNErrorCode.getErrorCode(code);
String errorMessage = getString(errorItems, 1);
errorMessage = errorMessage == null ? "" : errorMessage;
//errorItems contains 2 items more (file and line), no sense to use them.
return SVNErrorMessage.create(errorCode, errorMessage);
}