// We catch this here as it is usuall a user error.
// they have readExternal (or SQLData) that doesn't match
// the writeExternal. and thus the object read is of
// the incorrect type, e.g. Integer i = (Integer) in.readObject();
StreamCorruptedException sce = new StreamCorruptedException(cce.toString());
sce.initCause(cce);
throw sce;
}
}
/**