public class TypeMismatchException extends PropertyAccessException
修飾子と型 | フィールドと説明 |
---|---|
static StringSE | ERROR_CODE 型の不一致エラーが登録されるエラーコード。 |
コンストラクターと説明 |
---|
TypeMismatchException(ObjectSE value, ClassSE<?> requiredType) PropertyChangeEvent なしで新しい TypeMismatchException を作成します。 |
TypeMismatchException(ObjectSE value, ClassSE<?> requiredType, ThrowableSE cause) PropertyChangeEvent なしで新しい TypeMismatchException を作成します。 |
TypeMismatchException(PropertyChangeEventSE propertyChangeEvent, ClassSE<?> requiredType) 新しい TypeMismatchException を作成します。 |
TypeMismatchException(PropertyChangeEventSE propertyChangeEvent, ClassSE<?> requiredType, ThrowableSE cause) 新しい TypeMismatchException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getErrorCode() この型の例外に対応するエラーコードを返します。 |
StringSE | getPropertyName() 影響を受けるプロパティの名前を返します(利用可能な場合)。 |
ClassSE<?> | getRequiredType() 必要なターゲット型があれば、それを返します。 |
ObjectSE | getValue() 問題のある値を返します( null の場合があります)。 |
void | initPropertyName(StringSE propertyName) PropertyChangeEvent SE を介して初期化する代わりに、getPropertyName() を介して公開するために、この例外のプロパティ名を初期化します。 |
getPropertyChangeEvent
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 TypeMismatchException(PropertyChangeEventSE propertyChangeEvent, ClassSE<?> requiredType)
TypeMismatchException
を作成します。propertyChangeEvent
- 問題の原因となった PropertyChangeEventrequiredType
- 必要なターゲット型 public TypeMismatchException(PropertyChangeEventSE propertyChangeEvent, @Nullable ClassSE<?> requiredType, @Nullable ThrowableSE cause)
TypeMismatchException
を作成します。propertyChangeEvent
- 問題の原因となった PropertyChangeEventrequiredType
- 必要なターゲット型 (または、不明の場合は null
)cause
- 根本原因 (null
の場合があります)public TypeMismatchException(@Nullable ObjectSE value, @Nullable ClassSE<?> requiredType)
PropertyChangeEvent
なしで新しい TypeMismatchException
を作成します。value
- 変換できなかった問題のある値 (null
の場合があります)requiredType
- 必要なターゲット型 (または、不明の場合は null
)initPropertyName(java.lang.String)
public TypeMismatchException(@Nullable ObjectSE value, @Nullable ClassSE<?> requiredType, @Nullable ThrowableSE cause)
PropertyChangeEvent
なしで新しい TypeMismatchException
を作成します。value
- 変換できなかった問題のある値 (null
の場合があります)requiredType
- 必要なターゲット型 (または、不明の場合は null
)cause
- 根本原因 (null
の場合があります)initPropertyName(java.lang.String)
public void initPropertyName(StringSE propertyName)
PropertyChangeEvent
SE を介して初期化する代わりに、getPropertyName()
を介して公開するために、この例外のプロパティ名を初期化します。propertyName
- 公開するプロパティ名 TypeMismatchException(Object, Class)
, TypeMismatchException(Object, Class, Throwable)
@Nullable public StringSE getPropertyName()
PropertyAccessException
の getPropertyName
@Nullable public ObjectSE getValue()
null
の場合があります)。PropertyAccessException
の getValue
public StringSE getErrorCode()
PropertyAccessException
PropertyAccessException
の getErrorCode