# Uses of Class
org.apache.commons.configuration2.ex.ConversionException

Packages that use ConversionException
Package
Description
org.apache.commons.configuration2.convert
This package contains interfaces and classes related to data type conversions.

- ## Uses of ConversionException in org.apache.commons.configuration2.convert

  Methods in org.apache.commons.configuration2.convert that throw ConversionException
  Modifier and Type
  Method
  Description
  `static Object`
  PropertyConverter.`to(Class<?> cls, Object value, DefaultConversionHandler convHandler)`
  Converts the specified value object to the given target data class.
  `static BigDecimal`
  PropertyConverter.`toBigDecimal(Object value)`
  Converts the specified object into a BigDecimal.
  `static BigInteger`
  PropertyConverter.`toBigInteger(Object value)`
  Converts the specified object into a BigInteger.
  `static Boolean`
  PropertyConverter.`toBoolean(Object value)`
  Converts the specified object into a Boolean.
  `static Byte`
  PropertyConverter.`toByte(Object value)`
  Converts the specified object into a Byte.
  `static Calendar`
  PropertyConverter.`toCalendar(Object value, String format)`
  Converts the specified object into a Calendar.
  `static Character`
  PropertyConverter.`toCharacter(Object value)`
  Converts the specified value object to a `Character`.
  `static Color`
  PropertyConverter.`toColor(Object value)`
  Converts the specified object into a Color.
  `static Date`
  PropertyConverter.`toDate(Object value, String format)`
  Converts the specified object into a Date.
  `static Double`
  PropertyConverter.`toDouble(Object value)`
  Converts the specified object into a Double.
  `static Duration`
  PropertyConverter.`toDuration(Object value)`
  Converts the specified object into a Duration.
  `static File`
  PropertyConverter.`toFile(Object value)`
  Converts the specified object into a File.
  `static Float`
  PropertyConverter.`toFloat(Object value)`
  Converts the specified object into a Float.
  `static Integer`
  PropertyConverter.`toInteger(Object value)`
  Converts the specified object into an Integer.
  `static Locale`
  PropertyConverter.`toLocale(Object value)`
  Converts the specified object into a Locale.
  `static Long`
  PropertyConverter.`toLong(Object value)`
  Converts the specified object into a Long.
  `static Path`
  PropertyConverter.`toPath(Object value)`
  Converts the specified object into a Path.
  `static Pattern`
  PropertyConverter.`toPattern(Object value)`
  Converts the specified object into a Pattern.
  `static Short`
  PropertyConverter.`toShort(Object value)`
  Converts the specified object into a Short.
  `static URI`
  PropertyConverter.`toURI(Object value)`
  Converts the specified object into an URI.
  `static URL`
  PropertyConverter.`toURL(Object value)`
  Converts the specified object into an URL.