*
* @param sequenceNumber The sequence number that was checkpointed.
* @param throwable The exception that was thrown by a checkpoint attempt. Null if one didn't occur.
*/
Future<Boolean> writeCheckpointMessageWithError(String sequenceNumber, Throwable throwable) {
return writeMessage(new CheckpointMessage(sequenceNumber, throwable));
}