public class ConversionFailedException extends ConversionException
コンストラクターと説明 |
---|
ConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, ObjectSE value, ThrowableSE cause) 新しい変換例外を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
TypeDescriptor | getSourceType() 値の変換を試みたソース型を返します。 |
TypeDescriptor | getTargetType() 値を変換しようとしたターゲット型を返します。 |
ObjectSE | getValue() 問題のある値を返します。 |
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 ConversionFailedException(@Nullable TypeDescriptor sourceType, TypeDescriptor targetType, @Nullable ObjectSE value, ThrowableSE cause)
sourceType
- 値の元の型 targetType
- 値のターゲット型 value
- 変換しようとした値 cause
- 変換エラーの原因 @Nullable public TypeDescriptor getSourceType()
public TypeDescriptor getTargetType()