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

org.kurento.client.TransactionRollbackException Maven / Gradle / Ivy

Go to download

Kurento Client The Kurento Client project allows server applications to control media server resources.

There is a newer version: 7.1.0
Show newest version

package org.kurento.client;

public class TransactionRollbackException extends TransactionException {

  private static final long serialVersionUID = 151845936439259253L;

  public TransactionRollbackException() {
  }

  public TransactionRollbackException(String msg) {
    super(msg);
  }

  public TransactionRollbackException(String msg, Throwable throwable) {
    super(msg, throwable);
  }

  public TransactionRollbackException(Throwable throwable) {
    super(throwable);
  }

  public TransactionExecutionException getKurentoServerException() {
    Throwable cause = getCause();
    if (cause instanceof TransactionExecutionException) {
      return (TransactionExecutionException) cause;
    } else {
      return null;
    }
  }

  public boolean isUserRollback() {
    return getCause() == null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy