public class ScriptStatementFailedException extends ScriptException
ScriptUtils if a statement in an SQL script failed when
executing it against the target database.| Constructor and Description |
|---|
ScriptStatementFailedException(String stmt,
int stmtNumber,
org.springframework.core.io.support.EncodedResource resource,
Throwable cause)
Construct a new
ScriptStatementFailedException. |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScriptStatementFailedException(String stmt, int stmtNumber, org.springframework.core.io.support.EncodedResource resource, Throwable cause)
ScriptStatementFailedException.stmt - the actual SQL statement that failedstmtNumber - the statement number in the SQL script (i.e.,
the nth statement present in the resource)resource - the resource from which the SQL statement was readcause - the underlying cause of the failure