msml.exceptions

This module gather all global warnings, errors and exceptions:

  • Exception Hierarchy: for exception that are not allowed to happen regularly iff. the program was correct. Like type/format errors that should be checked by caller.
  • Error Hierarchy: for signaling mis-behaviour to the user. (e.g. missing files)
  • Warning hierarchy Things that should be an exception but, should not interrupt program flow. See: http://docs.python.org/2/library/warnings.html#warnings.warn for more information.

Functions

Exceptions

BindError
MSMLError
MSMLException
MSMLOperatorWarning
MSMLUnknownFunctionWarning
MSMLUnknownModuleWarning
MSMLWarning
MSMLXMLParseError
MSMLXMLUnknownTagWarning
MSMLXMlWarning
exception msml.exceptions.BindError[source]

Bases: exceptions.Exception

exception msml.exceptions.MSMLError[source]

Bases: exceptions.Exception

exception msml.exceptions.MSMLException[source]

Bases: exceptions.Exception

exception msml.exceptions.MSMLOperatorWarning[source]

Bases: msml.exceptions.MSMLWarning

exception msml.exceptions.MSMLUnknownFunctionWarning[source]

Bases: msml.exceptions.MSMLOperatorWarning

exception msml.exceptions.MSMLUnknownModuleWarning[source]

Bases: msml.exceptions.MSMLOperatorWarning

exception msml.exceptions.MSMLWarning[source]

Bases: exceptions.UserWarning

exception msml.exceptions.MSMLXMLParseError[source]

Bases: msml.exceptions.MSMLError

exception msml.exceptions.MSMLXMLUnknownTagWarning[source]

Bases: msml.exceptions.MSMLWarning

exception msml.exceptions.MSMLXMlWarning[source]

Bases: msml.exceptions.MSMLWarning