Package nltk_lite :: Package contrib :: Package toolbox :: Module errors :: Class BadFieldValueError
[hide private]
[frames] | no frames]

Class BadFieldValueError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                    ShoeboxError --+    
                                   |    
                     ValidationError --+
                                       |
              object --+               |
                       |               |
exceptions.BaseException --+           |
                           |           |
        exceptions.Exception --+       |
                               |       |
                    ShoeboxError --+   |
                                   |   |
                          FieldError --+
                                       |
                                      BadFieldValueError

Instance Methods [hide private]
 
__init__(self, errorType, entry, field, fmMetadata) source code
 
__str__(self) source code
 
getFieldMarkerMetadata(self) source code
 
setFieldMarkerMetadata(self, fmMetadata) source code
 
getErrorDescription(self) source code
 
getErrorType(self) source code
 
setErrorType(self, errorType) source code
 
getEntry(self) source code
 
setEntry(self, entry) source code

Inherited from ValidationError: getField, setField

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Class Variables [hide private]
  FIELD_VALUE_ERROR_RANGE_SET = '1'
  FIELD_VALUE_ERROR_NO_WORD_WRAP = '2'
  FIELD_VALUE_ERROR_EMPTY_VALUE = '3'
  FIELD_VALUE_ERROR_SINGLE_WORD = '4'
  errorTypes = {'1': 'Range Set', '2': 'No Word Wrap', '3': 'Emp...
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, errorType, entry, field, fmMetadata)
(Constructor)

source code 
Overrides: ValidationError.__init__

__str__(self)
(Informal representation operator)

source code 
Overrides: FieldError.__str__

Class Variable Details [hide private]

errorTypes

Value:
{'1': 'Range Set',
 '2': 'No Word Wrap',
 '3': 'Empty Value',
 '4': 'Single Word'}