Module fmeobjects :: Class FMEException
[hide private]
[frames] | no frames]

Class FMEException

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              FMEException

init(message, parms)

FME Exception class.

FME will raise an exception of this type if it encounters an error.

FME will also treat this exception type differently when calling user-defined Python scripts.

Instance Methods [hide private]
 
__init__(message, parms)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__repr__(x)
repr(x)
 
__str__(x)
str(x)

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

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

Properties [hide private]
  message
Message
  msgNum
Message Number

Inherited from exceptions.BaseException: args

Inherited from object: __class__

Method Details [hide private]

__init__(message, parms)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • message (int or string) - The message number defined in a message file, or a literal string to use as the error message.
  • parms (list of string) - (Optional) Parameters to the message string. Used only if msgNum is used for 'message'. Not to be used if 'message' is a string.
Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: object.__str__