public static String getErrorMessage(String response) throws Exception
	{
		if (response == null || response.trim().length() == 0)
		{
			return "Null response from server";
		}

		Document doc = stringToXmlDocument(response);

		return doc.getElementsByTagName("errortext").item(0).getTextContent().trim();
	}