EWS: fix 537, detect 507 Insufficient Storage

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2157 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2013-07-17 22:19:41 +00:00
parent 284fe9bce0
commit e869610e10
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ public abstract class EWSMethod extends PostMethod {
}
}
}
if (getStatusCode() == HttpStatus.SC_BAD_REQUEST) {
if (getStatusCode() == HttpStatus.SC_BAD_REQUEST || getStatusCode() == HttpStatus.SC_INSUFFICIENT_STORAGE ) {
throw new EWSException(getStatusText());
}
}