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:
Enclosing interface:
public static class Converter.ConversionException extends RuntimeException
An exception that signals that the value passed to
Converter.convertToPresentation(Object, Class, Locale)
orConverter.convertToModel(Object, Class, Locale)
could not be converted.Since:
7.0
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description ConversionException()
Constructs a new
ConversionException
without a detail message.ConversionException(String msg)
Constructs a new
ConversionException
with the specified detail message.ConversionException(String message, Throwable cause)
Constructs a new
ConversionException
with the specified detail message and cause.ConversionException(Throwable cause)
Constructs a new
ConversionException
with 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 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
-
-