|
|
@ -141,9 +141,11 @@ public class IMAPFolderEx extends IMAPFolder {
|
|
|
|
p.copy(ms, folder.getFullName());
|
|
|
|
p.copy(ms, folder.getFullName());
|
|
|
|
} catch (CommandFailedException cfx) {
|
|
|
|
} catch (CommandFailedException cfx) {
|
|
|
|
if (cfx.getMessage() != null &&
|
|
|
|
if (cfx.getMessage() != null &&
|
|
|
|
cfx.getMessage().contains("TRYCREATE"))
|
|
|
|
cfx.getMessage().contains("TRYCREATE")) {
|
|
|
|
|
|
|
|
Log.w(cfx);
|
|
|
|
throw new FolderNotFoundException(folder,
|
|
|
|
throw new FolderNotFoundException(folder,
|
|
|
|
folder.getFullName() + " does not exist");
|
|
|
|
folder.getFullName() + " does not exist");
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
throw new MessagingException(cfx.getMessage(), cfx);
|
|
|
|
throw new MessagingException(cfx.getMessage(), cfx);
|
|
|
|
} catch (ConnectionException cex) {
|
|
|
|
} catch (ConnectionException cex) {
|
|
|
|