Revision 41437 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc/exception/JDBCExecuteSQLException.java
JDBCExecuteSQLException.java | ||
---|---|---|
37 | 37 |
*/ |
38 | 38 |
private static final long serialVersionUID = 634889167216570034L; |
39 | 39 |
|
40 |
private final static String MESSAGE_FORMAT = "An JDBC exception was throw when execute SQL: %(sql)";
|
|
40 |
private final static String MESSAGE_FORMAT = "Problems executing sql: %(sql)";
|
|
41 | 41 |
private final static String MESSAGE_KEY = "_JDBCExecuteSQLException"; |
42 | 42 |
|
43 |
public JDBCExecuteSQLException(String sql, SQLException cause) {
|
|
43 |
public JDBCExecuteSQLException(String sql, Exception cause) { |
|
44 | 44 |
super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID); |
45 | 45 |
setValue("sql", sql); |
46 | 46 |
} |
Also available in: Unified diff