クラス QueryCreationException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessApiUsageException
org.springframework.data.repository.core.RepositoryCreationException
org.springframework.data.repository.query.QueryCreationException
- 実装されたすべてのインターフェース:
SerializableSE
Method
SE からクエリを作成できない場合にスローされる例外。- 作成者:
- Oliver Gierke, Mark Paluch
- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明static QueryCreationException
create
(StringSE message, ThrowableSE cause, ClassSE<?> repositoryInterface, MethodSE method) static QueryCreationException
create
(QueryMethod method, StringSE message) 新しいQueryCreationException
を作成します。static QueryCreationException
create
(QueryMethod method, ThrowableSE cause) static QueryCreationException
invalidProperty
(QueryMethod method, StringSE propertyName) 指定されたドメインクラスプロパティを拒否します。クラス org.springframework.data.repository.core.RepositoryCreationException から継承されたメソッド
getRepositoryInterface
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
メソッドの詳細
invalidProperty
指定されたドメインクラスプロパティを拒否します。- パラメーター:
method
-propertyName
-- 戻り値:
create
新しいQueryCreationException
を作成します。- パラメーター:
method
-message
-- 戻り値:
create
- パラメーター:
method
-cause
-- 戻り値:
create
public static QueryCreationException create(StringSE message, ThrowableSE cause, ClassSE<?> repositoryInterface, MethodSE method) - パラメーター:
method
-cause
-- 戻り値:
- 導入:
- 2.5
getMethod
- 戻り値:
- 導入:
- 2.5