fmeobjects.FMEException

Inheritance diagram of fmeobjects.FMEException
class FMEException

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 str) – 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 str. Used only if msgNum is used for ‘message’. Not to be used if ‘message’ is a string.

__init__(*args, **kwargs)
msgNum

Message Number

with_traceback()

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