Uses of Class
org.apache.wicket.util.convert.ConversionException
-
Packages that use ConversionException Package Description org.apache.wicket.markup.html.form HTML Forms and form components.org.apache.wicket.markup.html.form.upload Support for upload forms (using multipart requests).org.apache.wicket.util.convert Conversion support.org.apache.wicket.util.convert.converter Default converter implementations.org.apache.wicket.util.string String utilities. -
-
Uses of ConversionException in org.apache.wicket.markup.html.form
Methods in org.apache.wicket.markup.html.form with parameters of type ConversionException Modifier and Type Method Description protected ValidationError
FormComponent. newValidationError(ConversionException cause)
This method is called, when the validation triggered byFormComponent.convertInput()
failed with aConversionException
, to construct aValidationError
based on the exception.Methods in org.apache.wicket.markup.html.form that throw ConversionException Modifier and Type Method Description protected Collection<T>
CheckGroup. convertValue(String[] values)
protected T
FormComponent. convertValue(String[] value)
Subclasses should overwrite this if the conversion is not done through the type field and theIConverter
.protected Collection<T>
ListMultipleChoice. convertValue(String[] ids)
protected T
RadioGroup. convertValue(String[] input)
-
Uses of ConversionException in org.apache.wicket.markup.html.form.upload
Methods in org.apache.wicket.markup.html.form.upload that throw ConversionException Modifier and Type Method Description protected List<FileUpload>
FileUploadField. convertValue(String[] value)
protected Collection<FileUpload>
MultiFileUploadField. convertValue(String[] value)
-
Uses of ConversionException in org.apache.wicket.util.convert
Methods in org.apache.wicket.util.convert that return ConversionException Modifier and Type Method Description ConversionException
ConversionException. setConverter(IConverter<?> converter)
Sets the used converter.ConversionException
ConversionException. setFormat(Format format)
Sets the used format.ConversionException
ConversionException. setLocale(Locale locale)
Sets the used locale.ConversionException
ConversionException. setResourceKey(String resourceKey)
Set the resource key for the message that should be displayed.ConversionException
ConversionException. setSourceValue(Object sourceValue)
Sets the tried value.ConversionException
ConversionException. setTargetType(Class<?> targetType)
Sets the target property type.ConversionException
ConversionException. setVariable(String name, Object value)
Sets a variable that will be used in substitutionMethods in org.apache.wicket.util.convert that throw ConversionException Modifier and Type Method Description C
IConverter. convertToObject(String value, Locale locale)
Converts the givenString
value -
Uses of ConversionException in org.apache.wicket.util.convert.converter
Methods in org.apache.wicket.util.convert.converter that return ConversionException Modifier and Type Method Description protected ConversionException
AbstractConverter. newConversionException(String message, Object value, Locale locale)
Creates a conversion exception for throwing -
Uses of ConversionException in org.apache.wicket.util.string
Subclasses of ConversionException in org.apache.wicket.util.string Modifier and Type Class Description class
StringValueConversionException
Thrown when a string value cannot be converted to some type.
-