Class ConversionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.featurepack.data.util.converter.ConversionException
All Implemented Interfaces:
Serializable

public class ConversionException extends RuntimeException
An exception that signals that the value passed to
invalid reference
Converter#convertToPresentation(Object, Class, Locale)
or
invalid reference
Converter#convertToModel(Object, Class, Locale)
could not be converted.
Since:
7.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • ConversionException

      public ConversionException()
      Constructs a new ConversionException without a detail message.
    • ConversionException

      public ConversionException(String msg)
      Constructs a new ConversionException with the specified detail message.
      Parameters:
      msg - the detail message
    • ConversionException

      public ConversionException(Throwable cause)
      Constructs a new ConversionException with the specified cause.
      Parameters:
      cause - The cause of the the exception
    • ConversionException

      public ConversionException(String message, Throwable cause)
      Constructs a new ConversionException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - The cause of the the exception