/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, Class<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), getReadableClassName(toType), getValue(value)); }
/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, ClassMeta<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), toType.toString(), getValue(value)); }
/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, ClassMeta<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), toType.toString(), getValue(value)); }
/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, Class<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), getReadableClassName(toType), getValue(value)); }
/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, Class<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), getReadableClassName(toType), getValue(value)); }
/** * @param toType Attempting to convert to this class type. * @param cause The cause. * @param value The value being converted. */ public InvalidDataConversionException(Object value, ClassMeta<?> toType, Exception cause) { this(cause, "Invalid data conversion from type ''{0}'' to type ''{1}''. Value={2}.", getReadableClassNameForObject(value), toType.toString(), getValue(value)); }
return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
return path(name, toBeanMap(value), serializer, schema); } else if (value != null) { throw new RestCallException("Invalid name ''{0}'' passed to path(name,value) for data type ''{1}''", name, getReadableClassNameForObject(value));
} catch (UnsupportedEncodingException e) {} } else { throw new FormattedRuntimeException("Invalid name ''{0}'' passed to formData(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
} catch (UnsupportedEncodingException e) {} } else { throw new FormattedRuntimeException("Invalid name ''{0}'' passed to formData(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
} catch (UnsupportedEncodingException e) {} } else { throw new FormattedRuntimeException("Invalid name ''{0}'' passed to formData(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
return header(name, toBeanMap(value), skipIfEmpty, serializer, schema); } else { throw new RestCallException("Invalid name ''{0}'' passed to header(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
uriBuilder.setCustomQuery(s); } else { throw new RestCallException("Invalid name ''{0}'' passed to query(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
uriBuilder.setCustomQuery(s); } else { throw new RestCallException("Invalid name ''{0}'' passed to query(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));
uriBuilder.setCustomQuery(s); } else { throw new RestCallException("Invalid name ''{0}'' passed to query(name,value,skipIfEmpty) for data type ''{1}''", name, getReadableClassNameForObject(value));