Skip to content

EMV2Util.getErrorType(EMV2Path ep) returns null for bindings.NetworkError  #1975

@thari

Description

@thari

Summary

A call to EMV2Util.getErrorType returns null when the propagation point is "bindings"

A snippet from
https://github.com/osate/alisa-examples/blob/master/Isolette/aadl/Devices.aadl

properties
EMV2::OccurrenceDistribution => [ProbabilityValue =>1.0E-6]
applies to failed,busfail, bindings.NetworkError;

calling EMV2Util.getErrorType() to fetch the error type returns null

Expected and Current Behavior

However, for a property applied to port error such as

properties
EMV2::OccurrenceDistribution => [ProbabilityValue =>1.0E-6]
applies to failed,busfail, power.PowerSupplyError;

getErrorType method returns "PowerSupplyError"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions