SQLException[] exceptions, Sequence.Action action) throws SQLException {
int i = 0;
for (SequenceKey key : sequenceKeys) {
Long value = sequenceMap.get(key);
if (value == null) {
exceptions[i] = new SequenceNotFoundException(key.getSchemaName(), key.getSequenceName());
} else {
values[i] = value;
}
i++;
}