クラス 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
MethodSE からクエリを作成できない場合にスローされる例外。- 作成者:
 - Oliver Gierke, Mark Paluch
 - 関連事項:
 
メソッドのサマリー
修飾子と型メソッド説明static QueryCreationExceptioncreate(StringSE message, ThrowableSE cause, ClassSE<?> repositoryInterface, MethodSE method) static QueryCreationExceptioncreate(QueryMethod method, StringSE message) 新しいQueryCreationExceptionを作成します。static QueryCreationExceptioncreate(QueryMethod method, ThrowableSE cause) static QueryCreationExceptioninvalidProperty(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