Extensions.DiagCom.GetDiagServiceFromException
Classification
Name | GetDiagServiceFromException |
Short Description | Diagnostic service that caused the exception |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | UnknownTargetException TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
GetDiagServiceFromException(Exception resultEcu, DiagService result);
Description
The GetDiagServiceFromException term returns the diagnostic service that caused the exception.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
UnknownResponseException | Exception | Term | - | [1] | Exception of type UnknownExceptionResponse, which is examined. |
Result | DiagService | Return | - | - | Diagnostics Service. |
Examples
DiagService result = GetDiagServiceFromException(unknownExceptionResponse, "DiagServiceName");
See also
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceName
ExecuteDiagService
UnknownResponseException