public class NullValueInNestedPathException extends InvalidPropertyException
例: ターゲットオブジェクトの配偶者プロパティの値が null であるため、"spouse.age" のナビゲートが失敗する可能性があります。
コンストラクターと説明 |
---|
NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName) 新しい NullValueInNestedPathException を作成します。 |
NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg) 新しい NullValueInNestedPathException を作成します。 |
NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg, ThrowableSE cause) 新しい NullValueInNestedPathException を作成します。 |
getBeanClass, getPropertyName
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName)
beanClass
- 問題のある Bean クラス propertyName
- 問題のあるプロパティ public NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg)
beanClass
- 問題のある Bean クラス propertyName
- 問題のあるプロパティ msg
- 詳細メッセージ public NullValueInNestedPathException(ClassSE<?> beanClass, StringSE propertyName, StringSE msg, ThrowableSE cause)
beanClass
- 問題のある Bean クラス propertyName
- 問題のあるプロパティ msg
- 詳細メッセージ cause
- 根本原因