Browse Source

Polish Javadoc for ScriptStatementFailedException constructor

Issue: SPR-12752
pull/752/head
Sam Brannen 10 years ago
parent
commit
23d52d5e35
  1. 8
      spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptStatementFailedException.java

8
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptStatementFailedException.java

@ -33,12 +33,12 @@ public class ScriptStatementFailedException extends ScriptException { @@ -33,12 +33,12 @@ public class ScriptStatementFailedException extends ScriptException {
* Construct a new {@code ScriptStatementFailedException}.
* @param stmt the actual SQL statement that failed
* @param stmtNumber the statement number in the SQL script (i.e.,
* the nth statement present in the resource)
* @param resource the resource from which the SQL statement was read
* the n<sup>th</sup> statement present in the resource)
* @param encodedResource the resource from which the SQL statement was read
* @param cause the underlying cause of the failure
*/
public ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource resource, Throwable cause) {
super(buildErrorMessage(stmt, stmtNumber, resource), cause);
public ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause) {
super(buildErrorMessage(stmt, stmtNumber, encodedResource), cause);
}
/**

Loading…
Cancel
Save