mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Improve error handling
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1348 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
9e824fc524
commit
34d927f506
@ -608,6 +608,8 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
if (item != null) {
|
||||
folder = buildFolder(folderId.mailbox, item);
|
||||
folder.folderPath = folderPath;
|
||||
} else {
|
||||
throw new HttpNotFoundException("Folder "+folderPath+" not found");
|
||||
}
|
||||
return folder;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user