Skip to content
Snippets Groups Projects
Unverified Commit 0b35d991 authored by Lukas Lechner's avatar Lukas Lechner Committed by GitHub
Browse files

Error 2001 - App does not work anymore (EXPOSUREAPP-2009) #2197


* Show custom error message for CwaWebSecurityExceptions

* Remove Test String

* Update strings.xml

* Fixed quotes

Co-authored-by: default avatarjanetback <68653277+janetback@users.noreply.github.com>
Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
parent 9bfad523
No related branches found
No related tags found
No related merge requests found
package de.rki.coronawarnapp.exception
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.exception.reporting.ErrorCodes
import de.rki.coronawarnapp.exception.reporting.ReportedIOException
class CwaWebSecurityException(cause: Throwable) : ReportedIOException(
ErrorCodes.CWA_WEB_SECURITY_PROBLEM.code,
"An error occurred while trying to establish a secure connection to the server",
cause
cause,
R.string.errors_ssl_certificate_deactivated
)
......@@ -1400,6 +1400,9 @@
<string name="errors_risk_detection_limit_reached_title">"Limit bereits erreicht"</string>
<!-- XTXT: error dialog - Error description when the provideDiagnosisKeys quota limit was reached. -->
<string name="errors_risk_detection_limit_reached_description">"Heute sind keine weiteren Risiko-Überprüfungen möglich, weil das von Ihrem Betriebssystem festgelegte Limit von Risiko-Überprüfungen pro Tag bereits erreicht ist. Bitte überprüfen Sie Ihren Risikostatus morgen wieder."</string>
<!-- XTXT: error dialog - Error description when the ssl certificate is deactivated on the device. -->
<string name="errors_ssl_certificate_deactivated">"Bitte aktivieren Sie das SYSTEM Sicherheitszertifikat T-Systems Enterprise Services GmbH, T-TeleSec GlobalRoot Class 2 auf Ihrem Gerät. Mehr Informationen finden Sie in den FAQs auf https://coronawarn.app unter „URSACHE 2001“."</string>
<!-- ####################################
Generic Error Messages
###################################### -->
......
......@@ -1418,6 +1418,9 @@
<string name="errors_risk_detection_limit_reached_title">"Limit already reached"</string>
<!-- XTXT: error dialog - Error description when the provideDiagnosisKeys quota limit was reached. -->
<string name="errors_risk_detection_limit_reached_description">"No more exposure checks possible today, as you have reached the maximum number of checks per day defined by your operating system. Please check your risk status again tomorrow."</string>
<!-- XTXT: error dialog - Error description when the ssl certificate is deactivated on the device. -->
<string name="errors_ssl_certificate_deactivated">"Bitte aktivieren Sie das SYSTEM Sicherheitszertifikat T-Systems Enterprise Services GmbH, T-TeleSec GlobalRoot Class 2 auf Ihrem Gerät. Mehr Informationen finden Sie in den FAQs auf https://coronawarn.app unter „URSACHE 2001“."</string>
<!-- ####################################
Generic Error Messages
###################################### -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment