public class UnsupportedConversionError extends UnsupportedOperationException
Also raised during setup if no conversion is available between input and output types.
This exception means that there is no conversion in principal: it is a static error due to the schema provided or the implementation of the code.
for a runtime exception where the conversion
is supported, but a specific value is invalid for that conversion.
,
Serialized FormConstructor and Description |
---|
UnsupportedConversionError(String message) |
UnsupportedConversionError(String message,
Exception e) |
Modifier and Type | Method and Description |
---|---|
static UnsupportedConversionError |
nullError(ColumnMetadata schema) |
static UnsupportedConversionError |
readError(ColumnMetadata schema,
String javaType) |
static UnsupportedConversionError |
writeError(ColumnMetadata schema,
String javaType) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsupportedConversionError(String message)
public static UnsupportedConversionError readError(ColumnMetadata schema, String javaType)
public static UnsupportedConversionError writeError(ColumnMetadata schema, String javaType)
public static UnsupportedConversionError nullError(ColumnMetadata schema)
Copyright © 1970 The Apache Software Foundation. All rights reserved.