public class ScriptException extends JdbcException
| Modifier and Type | Field and Description |
|---|---|
protected int |
lineNumber |
protected java.lang.String |
rawSql |
protected java.lang.String |
scriptFilePath |
args, messageResource| Constructor and Description |
|---|
ScriptException(java.lang.Throwable cause,
Sql<?> sql,
int lineNumber) |
ScriptException(java.lang.Throwable cause,
java.lang.String rawSql,
java.lang.String scriptFilePath,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLineNumber()
Returns the line number of the script file.
|
java.lang.String |
getRawSql()
Returns the raw SQL string.
|
java.lang.String |
getScriptFilePath()
Returns the script file path.
|
choiceSqlgetArgs, getMessageResourceprotected final java.lang.String rawSql
protected final java.lang.String scriptFilePath
protected final int lineNumber
public ScriptException(java.lang.Throwable cause,
Sql<?> sql,
int lineNumber)
public ScriptException(java.lang.Throwable cause,
java.lang.String rawSql,
java.lang.String scriptFilePath,
int lineNumber)
public java.lang.String getRawSql()
public java.lang.String getScriptFilePath()
public int getLineNumber()