1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

EWS: throw exception on 400 Bad request answer

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1821 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-10-13 21:57:44 +00:00
parent c983bb0195
commit 4cd1d27670

View File

@ -670,6 +670,9 @@ public abstract class EWSMethod extends PostMethod {
}
}
}
if (getStatusCode() == HttpStatus.SC_BAD_REQUEST) {
throw new EWSException(getStatusText());
}
}
@Override