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
An exception that signals that the value passed to
or
could not be
converted.
invalid reference
Converter#convertToPresentation(Object, Class, Locale)
invalid reference
Converter#convertToModel(Object, Class, Locale)
- Since:
- 7.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConversionExceptionwithout a detail message.Constructs a newConversionExceptionwith the specified detail message.ConversionException(String message, Throwable cause) Constructs a newConversionExceptionwith the specified detail message and cause.ConversionException(Throwable cause) Constructs a newConversionExceptionwith the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
public ConversionException()Constructs a newConversionExceptionwithout a detail message. -
ConversionException
Constructs a newConversionExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
ConversionException
Constructs a newConversionExceptionwith the specified cause.- Parameters:
cause- The cause of the the exception
-
ConversionException
Constructs a newConversionExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- The cause of the the exception
-