open static fun buildErrorMessage(stmt: String, stmtNumber: Int, encodedResource: EncodedResource): String
Build an error message for an SQL script execution failure, based on the supplied arguments.
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
Return
an error message suitable for an exception's detail message or logging
Since
4.2