mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
24 lines
497 B
Java
24 lines
497 B
Java
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;
|
|
}
|
|
}
|