fmeobjects.FMEException

Inheritance diagram of fmeobjects.FMEException
class FMEException

Bases: Exception

FME Exception Class

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.

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[str]) – (Optional) Parameters to the message string. Used only if msgNum is used for ‘message’. Not to be used if ‘message’ is a string.
__init__

Initialize self. See help(type(self)) for accurate signature.

msgNum

Message Number

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.