1

feat: первая рабочая версия

This commit is contained in:
2025-02-26 19:45:01 +03:00
parent 21412346c7
commit 93dfa59d40
26 changed files with 1218 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package ru.di9.jdbc;
import lombok.Getter;
@Getter
public class DataAccessException extends RuntimeException {
@SuppressWarnings("java:S1165")
private String sql;
public DataAccessException(String msg, Throwable cause) {
super(msg, cause);
}
public DataAccessException(String msg, String sql, Throwable cause) {
this(msg + " | " + sql, cause);
this.sql = sql;
}
}