iamai.exceptions module

iamai Exception.

The following are exceptions that may be thrown when iamai is running. Most of these exceptions do not require user handling, iamai will automatically catch and handle them. For adapter developers, all exceptions thrown by adapters should inherit from AdapterException.

exception iamai.exceptions.AdapterException[源代码]

基类:iamaiException

Base class for exceptions thrown by adapters. All exceptions thrown by adapters should inherit from this class.

exception iamai.exceptions.EventException[源代码]

基类:BaseException

Exceptions thrown by plug-ins during event processing are used to control the propagation of events and will be automatically captured and processed by iamai.

exception iamai.exceptions.GetEventTimeout[源代码]

基类:iamaiException

Thrown when the get method times out.

exception iamai.exceptions.LoadModuleError[源代码]

基类:iamaiException

Loading module error, thrown when a class of a specific type cannot be found in the specified module or there are multiple qualifying classes in the module.

exception iamai.exceptions.SkipException[源代码]

基类:EventException

Skip the current plugin and continue the current event propagation.

exception iamai.exceptions.StopException[源代码]

基类:EventException

Stop propagation of current events.

exception iamai.exceptions.iamaiException[源代码]

基类:Exception

Base class for all exceptions that occur with iamai.