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

com.centit.support.database.utils.DatabaseAccessException Maven / Gradle / Ivy

Go to download

数据库操作通用方法和函数,从以前的util包中分离出来,并且整合了部分sys-module中的函数

There is a newer version: 5.3.2302
Show newest version
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