private Mailbox mailbox(String name, boolean create, boolean throwexn) {
if (name.equalsIgnoreCase("inbox")) return inbox;
MailTree mt = mailboxTree(name, create, throwexn);
+ /* FIXME: throw throwexn here
+ if (mt==null || mt.getMailbox()==null)
+ Log.error("mt==null", name);
+ */
return mt==null ? null : mt.getMailbox();
}
private MailTree mailboxTree(String name, boolean create) { return mailboxTree(name, create, true); }