クラス ScriptParseException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.r2dbc.connection.init.ScriptException
org.springframework.r2dbc.connection.init.ScriptParseException
- 実装されたすべてのインターフェース:
SerializableSE
SQL スクリプトを適切に解析できない場合、
ScriptUtils
によってスローされます。- 導入:
- 5.3
- 作成者:
- Sam Brannen, Mark Paluch
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明ScriptParseException
(StringSE message, EncodedResource resource) 新しいScriptParseException
を作成します。ScriptParseException
(StringSE message, EncodedResource resource, ThrowableSE cause) 新しいScriptParseException
を作成します。メソッドのサマリー
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
ScriptParseException
新しいScriptParseException
を作成します。- パラメーター:
message
- 詳細メッセージresource
- SQL スクリプトが読み込まれたリソース
ScriptParseException
public ScriptParseException(StringSE message, @Nullable EncodedResource resource, @Nullable ThrowableSE cause) 新しいScriptParseException
を作成します。- パラメーター:
message
- 詳細メッセージresource
- SQL スクリプトが読み込まれたリソースcause
- 失敗の根本的な原因