use of org.jetbrains.jps.builders.storage.BuildDataCorruptedException in project intellij-community by JetBrains.
the class IntIntPersistentMultiMaplet method put.
@Override
public void put(final int key, final int value) {
try {
myCache.remove(key);
myMap.appendData(key, new PersistentHashMap.ValueDataAppender() {
public void append(final DataOutput out) throws IOException {
DataInputOutputUtil.writeINT(out, value);
}
});
} catch (IOException e) {
throw new BuildDataCorruptedException(e);
}
}
Aggregations