public final class IncompatibleTypeException extends RuntimeException
ValueConversionHelper, to indicate a value could not be converted into the
target datatype. It doesn't mean a failed attempt at a conversion, it means that there was no way to convert the input value to begin with.| Constructor and Description |
|---|
IncompatibleTypeException(Object value,
Class<?> fromType,
Class<?> targetType) |
IncompatibleTypeException(Object value,
Class<?> fromType,
Class<?> targetType,
List<IncompatibleTypeException> causes) |
IncompatibleTypeException(Object value,
Class<?> fromType,
Class<?> targetType,
@Nullable Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
List<IncompatibleTypeException> |
getCauses() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncompatibleTypeException(Object value, Class<?> fromType, Class<?> targetType)
public IncompatibleTypeException(Object value, Class<?> fromType, Class<?> targetType, @Nullable @Nullable Throwable cause)
public IncompatibleTypeException(Object value, Class<?> fromType, Class<?> targetType, List<IncompatibleTypeException> causes)
public List<IncompatibleTypeException> getCauses()
Copyright © 2011–2019. All rights reserved.