public int getMailboxIDInt() { if (mMailboxIdInt == -1) { if (mMailboxId != null) { mMailboxIdInt = Integer.parseInt(mMailboxId);
public int getMailboxIDInt() throws ServiceException { if (mMailboxIdInt == -1 && mMailboxId != null) try { mMailboxIdInt = Integer.parseInt(mMailboxId.trim()); } catch (NumberFormatException nfe) { throw ServiceException.INVALID_REQUEST("invalid mailbox id: " + mMailboxId, null);
    public int getMailboxIDInt() {        if (mMailboxIdInt == -1) {            if (mMailboxId != null) {                mMailboxIdInt = Integer.parseInt(mMailboxId);            }        }        return mMailboxIdInt;    }