mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-11 19:55:01 -05:00
18 lines
355 B
Java
18 lines
355 B
Java
package com.moparisthebest.jdbc;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
public class SQLExceptionColumnNum extends SQLException {
|
|
|
|
private final int columnNum;
|
|
|
|
public SQLExceptionColumnNum(Throwable cause, int columnNum) {
|
|
super("At column number "+columnNum, cause);
|
|
this.columnNum = columnNum;
|
|
}
|
|
|
|
public int getColumnNum() {
|
|
return columnNum;
|
|
}
|
|
}
|