![JAR search and dependency download from the Maven repository](/logo.png)
com.centit.support.database.utils.DatabaseAccessException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of centit-database Show documentation
Show all versions of centit-database Show documentation
数据库操作通用方法和函数,从以前的util包中分离出来,并且整合了部分sys-module中的函数
package com.centit.support.database.utils;
import java.sql.SQLException;
public class DatabaseAccessException extends SQLException {
private static final long serialVersionUID = 1L;
public DatabaseAccessException(String sql , SQLException e){
super(sql +" raise "+ e.getMessage(), e.getSQLState(), e.getErrorCode(),e.getCause());
this.setNextException(e.getNextException());
this.setStackTrace(e.getStackTrace());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy