smia.logic.exceptions module¶
This file contains all the classes for handling errors in exceptions that may occur during code execution.
- exception smia.logic.exceptions.CriticalError(message)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are critical to the program, so that execution must be terminated.
- exception smia.logic.exceptions.RequestDataError(message)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are related to a request received by the DT (request of a service or a capability).
- exception smia.logic.exceptions.AASModelReadingError(message, sme_class, reason)[source]¶
Bases:
ExceptionThis exception class is defined for errors that occur during AAS model management (reading, updating…).
- exception smia.logic.exceptions.AASModelOntologyError(message, sme_class, reason)[source]¶
Bases:
ExceptionThis exception class is defined for errors that occur during AAS model management (reading, updating…).
- exception smia.logic.exceptions.ServiceRequestExecutionError(thread, message, svc_type, behav_class)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are related to the execution of a requested service. Since it has been requested, this class also must response to the requester with a Failure of the execution.
- exception smia.logic.exceptions.CapabilityRequestExecutionError(cap_name, message, behav_class)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are related to the execution of a requested Capability. Since it has been requested, this class also must response to the requester with a Failure of the capability execution.
- exception smia.logic.exceptions.CapabilityCheckingError(cap_name, reason, behav_class)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are related to the execution of the Capability checking process. Since this process is requested by another DT, this class also must response to the requester with a Failure of the capability checking as well as the reason of it.
- exception smia.logic.exceptions.AssetConnectionError(message, error_type, reason)[source]¶
Bases:
ExceptionThis exception class is defined for errors that are related to the asset connection processes.