Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromException"
Jump to navigation
Jump to search
m (Hb moved page GetDiagServiceFromException to Extensions.DiagCom.GetDiagServiceFromException: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''GetDiagServiceFromException'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDiagServiceFromException | Diagnostic service that caused the exception | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | [[UnknownTargetException]] <br/> [[TypeMismatchException]] | - }} | + | {{ClassificationActivity | GetDiagServiceFromException | Diagnostic service that caused the exception | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | [[Extensions.DiagCom.UnknownTargetException|UnknownTargetException]] <br/> [[TypeMismatchException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 11: | Line 11: | ||
The '''GetDiagServiceFromException''' term returns the diagnostic service that caused the exception. | The '''GetDiagServiceFromException''' term returns the diagnostic service that caused the exception. | ||
− | {{TermReturnValue| [[DiagService]] | Diagnostics Service.}} | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | Diagnostics Service.}} |
== Properties == | == Properties == | ||
Line 40: | Line 40: | ||
== See also == | == See also == | ||
− | [[CreateDiagServiceByName]] <br/> | + | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> |
− | [[CreateDiagServiceBySemantic]] <br/> | + | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/> |
− | [[GetDiagServiceListBySemantic]] <br/> | + | [[Extensions.DiagCom.GetDiagServiceListBySemantic|GetDiagServiceListBySemantic]] <br/> |
− | [[GetDiagServiceFromResult]] <br/> | + | [[Extensions.DiagCom.GetDiagServiceFromResult|GetDiagServiceFromResult]] <br/> |
− | [[GetDiagServiceName]] <br/> | + | [[Extensions.DiagCom.GetDiagServiceName|GetDiagServiceName]] <br/> |
− | [[ExecuteDiagService]] <br/> | + | [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/> |
− | [[UnknownResponseException]] | + | [[Extensions.DiagCom.UnknownResponseException|UnknownResponseException]] |
Revision as of 01:55, 15 February 2016
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 |
OTL Syntax
DiagServiceTerm = DiagCom.GetDiagServiceFromException(ExceptionTerm);
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. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
DiagCom.DiagComException Handle1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentCalibData");
try
{
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false);
}
catch (DiagCom.DiagComException Handle1)
{
}
DiagService1 = DiagCom.GetDiagServiceFromException(Handle1);
See also
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceName
ExecuteDiagService
UnknownResponseException