Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromException"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Pseudo-Code Syntax == | == Pseudo-Code Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagService GetDiagServiceFromException(Exception | + | DiagService GetDiagServiceFromException(Exception exception); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 02:28, 18 July 2014
Contents
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
DiagService GetDiagServiceFromException(Exception exception);
Description
The GetDiagServiceFromException term returns the diagnostic service that caused the exception.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DiagService | Diagnostics Service. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
UnknownResponseException | Exception | Term | - | [1] | Exception of type UnknownExceptionResponse, which is examined. |
Examples
DiagService result = GetDiagServiceFromException(unknownExceptionResponse, "DiagServiceName");
See also
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceName
ExecuteDiagService
UnknownResponseException