Package muntjac :: Package data :: Module property :: Class ConversionException
[hide private]
[frames] | no frames]

Class ConversionException

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
        exceptions.StandardError --+    
                                   |    
             exceptions.RuntimeError --+
                                       |
                                      ConversionException

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


Author: Vaadin Ltd.

Version: 1.1.2

Instance Methods [hide private]
 
__init__(self, *args)
Constructs a new ConversionException with the specified detail message and cause.
source code

Inherited from exceptions.RuntimeError: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 

Constructs a new ConversionException with the specified detail message and cause.

Parameters:
  • args - tuple of the form
    • ()
    • (msg)
      1. the detail message
    • (cause)
      1. The cause of the the conversion failure
    • (msg, cause)
      1. the detail message
      2. The cause of the the conversion failure
Overrides: object.__init__