public class PropertyReferenceException extends RuntimeExceptionSE
PropertyPath インスタンスの作成時に例外がスローされます。| コンストラクターと説明 |
|---|
PropertyReferenceException(StringSE propertyName, TypeInformation<?> type, ListSE<PropertyPath> alreadyResolvedPah) 新しい PropertyReferenceException を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
PropertyPath | getBaseProperty() これまでに解決できた PropertyPath を返します。 |
StringSE | getMessage() |
StringSE | getPropertyName() 見つからないプロパティの名前を返します。 |
TypeInformation<?> | getType() プロパティが見つからなかった型を返します。 |
boolean | hasDeeperResolutionDepthThan(PropertyReferenceException exception) 指定された PropertyReferenceException の解決が現在の例外よりも深い(つまり、解決済みのプロパティのパスが長い)かどうかを返します。 |
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic PropertyReferenceException(StringSE propertyName, TypeInformation<?> type, ListSE<PropertyPath> alreadyResolvedPah)
PropertyReferenceException を作成します。propertyName - 指定された型にないプロパティの名前。null または空であってはなりません。type - プロパティが見つからなかった型。null であってはなりません。alreadyResolvedPah - 以前に計算された PropertyPath は null であってはなりません。public StringSE getPropertyName()
public TypeInformation<?> getType()
public StringSE getMessage()
ThrowableSE の getMessageSE @Nullable public PropertyPath getBaseProperty()
PropertyPath を返します。public boolean hasDeeperResolutionDepthThan(PropertyReferenceException exception)
PropertyReferenceException の解決が現在の例外よりも深い(つまり、解決済みのプロパティのパスが長い)かどうかを返します。exception - null であってはなりません。Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.