Lines Matching refs:exception
116 static void ReportExceptionToSysEvent(CrashDumpException& exception)
120 if (exception.error == CRASH_DUMP_LOCAL_REPORT) {
122 if (strlen(exception.message) == 0) {
125 rfile.open(exception.message, std::ios::binary | std::ios::ate);
135 errMessage = exception.message;
141 "PID", exception.pid,
142 "UID", exception.uid,
143 "HAPPEN_TIME", exception.time,
144 "ERROR_CODE", exception.error,
351 CrashDumpException exception;
352 (void)memset_s(&exception, sizeof(CrashDumpException), 0, sizeof(CrashDumpException));
353 ssize_t nread = OHOS_TEMP_FAILURE_RETRY(read(connectionFd, &exception, sizeof(CrashDumpException)));
354 exception.message[LINE_BUF_SIZE - 1] = '\0';
359 ReportExceptionToSysEvent(exception);
853 isCredentialMatched = (creds.uid == request->uid); /* check uid when report exception */