com.vaadin.data.


Class Property.ConversionException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              com.vaadin.data.Property.ConversionException

All Implemented Interfaces:

Serializable

Enclosing interface:

Property

public static class Property.ConversionException
extends RuntimeException

An exception that signals that the value passed to the setValue method couldn't be converted to the native type of the Property.

Since:

3.0

Version:

6.8.18

Author:

Vaadin Ltd

See Also:

Serialized Form

Constructor Summary
Property.ConversionException()
          Constructs a new ConversionException without a detail message.
Property.ConversionException(String msg)
          Constructs a new ConversionException with the specified detail message.
Property.ConversionException(String message, Throwable cause)
          Constructs a new ConversionException with the specified detail message and cause.
Property.ConversionException(Throwable cause)
          Constructs a new ConversionException from another exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property.ConversionException

public Property.ConversionException()

Constructs a new ConversionException without a detail message.

Property.ConversionException

public Property.ConversionException(String msg)

Constructs a new ConversionException with the specified detail message.

Parameters:
msg - the detail message

Property.ConversionException

public Property.ConversionException(Throwable cause)

Constructs a new ConversionException from another exception.

Parameters:
cause - The cause of the the conversion failure

Property.ConversionException

public Property.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 conversion failure