Class ConversionFailure

java.lang.Object
com.ultikits.ultitools.config.convert.ConversionFailure

@Internal public final class ConversionFailure extends Object
One refused nested input, retained independently of the successfully converted values.
Since:
6.3.0
  • Field Details

  • Constructor Details

  • Method Details

    • path

      public List<String> path()
      Returns:
      the immutable whole path, including an element index when present
    • declaredType

      public Type declaredType()
      Returns:
      the declared type at the failed location
    • raw

      public Object raw()
      Returns:
      a defensive copy of the refused document value
    • cause

      public ConversionException cause()
      Returns:
      the conversion failure and its location