} catch (ServiceException ex) { ex.printStackTrace(); throw new IOException("Cannot read serialized entry for SetAppointment"+ex.toString());
    protected void deserializeData(DataInput in) throws IOException {        assert(getMailboxId() != 0);        mFolderId = in.readInt();        if (getVersion().atLeast(1, 0))            mVolumeId = in.readShort();        mAppointmentId = in.readInt();        if (getVersion().atLeast(1, 1))            mAppointmentPartStat = readUTF8(in);                try {            Mailbox mbox = Mailbox.getMailboxById(getMailboxId());                    mDefaultInvite = deserializeSetAppointmentData(in, mbox);                        int numExceptions = in.readInt();            if (numExceptions > 0) {                mExceptions = new Mailbox.SetAppointmentData[numExceptions];                for (int i = 0; i < numExceptions; i++){                    mExceptions[i] = deserializeSetAppointmentData(in, mbox);                }            }                } catch (MessagingException ex) {            ex.printStackTrace();            throw new IOException("Cannot read serialized entry for SetAppointment"+ex.toString());        } catch (ServiceException ex) {            ex.printStackTrace();            throw new IOException("Cannot read serialized entry for SetAppointment"+ex.toString());        }    }