com.vaadin.data.util.converter
Class Converter.ConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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 to Converter.convertToPresentation(Object, Locale) or Converter.convertToModel(Object, Locale) could not be converted.

Since:
7.0
Version:
7.0.0.alpha3
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
Converter.ConversionException()
          Constructs a new ConversionException without a detail message.
Converter.ConversionException(String msg)
          Constructs a new ConversionException with the specified detail message.
Converter.ConversionException(String message, Throwable cause)
          Constructs a new ConversionException with the specified detail message and cause.
Converter.ConversionException(Throwable cause)
          Constructs a new ConversionException with the specified cause.
 
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

Converter.ConversionException

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


Converter.ConversionException

public Converter.ConversionException(String msg)
Constructs a new ConversionException with the specified detail message.

Parameters:
msg - the detail message

Converter.ConversionException

public Converter.ConversionException(Throwable cause)
Constructs a new ConversionException with the specified cause.

Parameters:
cause - The cause of the the exception

Converter.ConversionException

public Converter.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


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.