final DataInputStream in) throws IOException, RecordStoreException {
final String version = app.getAppProperty("MIDlet-Version");
if (version == null) {
throw new RecordStoreException();
}
final String rmsVersion = in.readUTF();
if (rmsVersion == null) {
throw new RecordStoreException();
}
if (!rmsVersion.equals(version)) {
throw new RecordStoreException();
}
}