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 statement,
int lineNumber,
EncodedResource resource,
Throwable cause)
Construct a new
ScriptStatementFailedException . |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ScriptStatementFailedException(String statement, int lineNumber, EncodedResource resource, Throwable cause)
ScriptStatementFailedException
.statement
- the actual SQL statement that failedlineNumber
- the line number in the SQL scriptresource
- the resource from which the SQL statement was readcause
- the underlying cause of the failure