Open powczarek22 opened 2 years ago
https://github.com/impossibl/pgjdbc-ng/blob/develop/driver/src/main/java/com/impossibl/postgres/jdbc/ErrorUtils.java
Pass an instance of NoticeException and it loops until stack overflow
public static SQLException makeSQLException(String message, Exception cause) { if (cause instanceof SQLException) { return (SQLException) cause; } if (cause instanceof NoticeException) { return makeSQLException(message, cause); } return new PGSQLSimpleException(message, cause); }
https://github.com/impossibl/pgjdbc-ng/blob/develop/driver/src/main/java/com/impossibl/postgres/jdbc/ErrorUtils.java
Pass an instance of NoticeException and it loops until stack overflow