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

io.ebeaninternal.server.persist.BatchedSqlException Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.persist;


import java.sql.SQLException;

/**
 * Holds the first SQLException found when executing a JDBC batch.
 */
public class BatchedSqlException extends Exception {
  private static final long serialVersionUID = -4374631080253580648L;

  private final SQLException cause;

  BatchedSqlException(String message, SQLException cause) {
    super(message, cause);
    this.cause = cause;
  }

  @Override
  public SQLException getCause() {
    return cause;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy