Caldav: new fix for invalid events

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@953 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-02-19 23:21:16 +00:00
parent 4347643185
commit c8298f6e29
1 changed files with 3 additions and 3 deletions

View File

@ -1809,9 +1809,9 @@ public class ExchangeSession {
* User Translate: f header to get MIME event content and get ICS attachment from it
*
* @return ICS (iCalendar) event
* @throws IOException on error
* @throws HttpException on error
*/
public String getICS() throws IOException {
public String getICS() throws HttpException {
String result;
LOGGER.debug("Get event: " + permanentUrl);
// try to get PR_INTERNET_CONTENT
@ -2546,7 +2546,7 @@ public class ExchangeSession {
// check ics content
try {
event.getICS();
} catch (IOException e) {
} catch (HttpException e) {
// invalid event: exclude from list
LOGGER.warn("Invalid event found at " + response.getHref(), e);
}