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

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

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 - 2024 Weber Informatics LLC | Privacy Policy