All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.db.exception.transaction.AbortException Maven / Gradle / Ivy

Go to download

A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases

The newest version!
package com.scalar.db.exception.transaction;

import javax.annotation.Nullable;

/**
 * An exception thrown when aborting (rolling back) a transaction fails due to transient or
 * nontransient faults.
 */
public class AbortException extends TransactionException {

  public AbortException(String message, String transactionId) {
    super(message, transactionId);
  }

  public AbortException(String message, Throwable cause, String transactionId) {
    super(message, cause, transactionId);
  }

  public AbortException(
      String message, @Nullable String transactionId, boolean authenticationError) {
    super(message, transactionId, authenticationError, false, false, null);
  }

  public AbortException(
      String message,
      Throwable cause,
      @Nullable String transactionId,
      boolean authenticationError) {
    super(message, cause, transactionId, authenticationError, false, false, null);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy