Package com.vaadin.data.util.converter
Class Converter.ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.vaadin.data.util.converter.Converter.ConversionException
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Converter<PRESENTATION,MODEL>
public static class Converter.ConversionException extends RuntimeException
An exception that signals that the value passed toConverter.convertToPresentation(Object, Class, Locale)orConverter.convertToModel(Object, Class, Locale)could not be converted.- Since:
- 7.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException()Constructs a newConversionExceptionwithout a detail message.ConversionException(String msg)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 Detail
-
ConversionException
public ConversionException()
Constructs a newConversionExceptionwithout a detail message.
-
ConversionException
public ConversionException(String msg)
Constructs a newConversionExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
ConversionException
public ConversionException(Throwable cause)
Constructs a newConversionExceptionwith the specified cause.- Parameters:
cause- The cause of the the exception
-
-