expectServiceFunException
fun TraceEventErrorsListener.Companion.expectServiceFunException( iviServiceId: IviServiceId, functionReference: KFunction<*>, exceptionMessage: String)
Content copied to clipboard
Whitelists trace event errors as result of throwing an exception in an IVI service function.
Parameters
iviServiceId
The service ID of the service. For none discoverable services you can use <Service>.SERVICE_ID
.
functionReference
The reference to the IVI service function that throws the exception.
exceptionMessage
The expected exception message.