クラス PropertyReferenceException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.data.mapping.PropertyReferenceException
- 実装されたすべてのインターフェース:
SerializableSE
PropertyPath
インスタンスの作成時に例外がスローされます。- 作成者:
- Oliver Gierke, Christoph Strobl, John Blum
- 関連事項:
コンストラクターの概要
コンストラクターコンストラクター説明PropertyReferenceException
(StringSE propertyName, TypeInformation<?> type, ListSE<PropertyPath> alreadyResolvedPah) 新しいPropertyReferenceException
を作成します。メソッドのサマリー
修飾子と型メソッド説明これまでに解決できたPropertyPath
を返します。見つからないプロパティの名前を返します。getType()
プロパティが見つからなかった型を返します。boolean
指定されたPropertyReferenceException
の解決が現在の例外よりも深い(つまり、解決済みのプロパティのパスが長い)かどうかを返します。クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
PropertyReferenceException
public PropertyReferenceException(StringSE propertyName, TypeInformation<?> type, ListSE<PropertyPath> alreadyResolvedPah) 新しいPropertyReferenceException
を作成します。- パラメーター:
propertyName
- 指定された型にないプロパティの名前。null または空であってはなりません。type
- プロパティが見つからなかった型。null であってはなりません。alreadyResolvedPah
- 以前に計算されたPropertyPath
は null であってはなりません。
メソッドの詳細
getPropertyName
見つからないプロパティの名前を返します。- 戻り値:
- null または空にはなりません。
getType
プロパティが見つからなかった型を返します。- 戻り値:
- null になることはありません。
getMessage
- オーバーライド:
- クラス
ThrowableSE
のgetMessage
getBaseProperty
これまでに解決できたPropertyPath
を返します。- 戻り値:
hasDeeperResolutionDepthThan
指定されたPropertyReferenceException
の解決が現在の例外よりも深い(つまり、解決済みのプロパティのパスが長い)かどうかを返します。- パラメーター:
exception
- null であってはなりません。- 戻り値: