public static String buildErrorMessage ( String stmt , int stmtNumber , EncodedResource encodedResource ) { return String . format ( "Failed to execute SQL script statement #%s of %s: %s" , stmtNumber , encodedResource , stmt ) ; }
Build an error message for an SQL script execution failure based on the supplied arguments .