|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.seasar.doma.DomaException
org.seasar.doma.jdbc.JdbcException
org.seasar.doma.jdbc.ScriptException
public class ScriptException
スクリプトファイル内のSQLの実行中に例外が発生した場合にスローされる例外です。
| フィールドの概要 | |
|---|---|
protected int |
lineNumber
行番号 |
protected String |
rawSql
未加工SQL |
protected String |
scriptFilePath
スクリプトファイルのパス |
| クラス org.seasar.doma.DomaException から継承されたフィールド |
|---|
args, messageResource |
| コンストラクタの概要 | |
|---|---|
ScriptException(Throwable cause,
Sql<?> sql,
int lineNumber)
インスタンスを構築します。 |
|
ScriptException(Throwable cause,
String rawSql,
String scriptFilePath,
int lineNumber)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
int |
getLineNumber()
行番号を返します。 |
String |
getRawSql()
未加工SQLを返します。 |
String |
getScriptFilePath()
スクリプトファイルのパスを返します。 |
| クラス org.seasar.doma.jdbc.JdbcException から継承されたメソッド |
|---|
choiceSql |
| クラス org.seasar.doma.DomaException から継承されたメソッド |
|---|
getArgs, getMessageResource |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final String rawSql
protected final String scriptFilePath
protected final int lineNumber
| コンストラクタの詳細 |
|---|
public ScriptException(Throwable cause,
Sql<?> sql,
int lineNumber)
cause - 原因sql - SQLlineNumber - 行番号
public ScriptException(Throwable cause,
String rawSql,
String scriptFilePath,
int lineNumber)
cause - 原因rawSql - 未加工SQLscriptFilePath - SQLファイルのパスlineNumber - 行番号| メソッドの詳細 |
|---|
public String getRawSql()
public String getScriptFilePath()
public int getLineNumber()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||