spring-framework / org.springframework.jdbc.datasource.init / ScriptStatementFailedException / <init>

<init>

ScriptStatementFailedException(stmt: String, stmtNumber: Int, encodedResource: EncodedResource, cause: Throwable)

Construct a new ScriptStatementFailedException.

Parameters

stmt - the actual SQL statement that failed

stmtNumber - the statement number in the SQL script (i.e., the nth statement present in the resource)

encodedResource - the resource from which the SQL statement was read

cause - the underlying cause of the failure