Fixed that encoder may throws an from Throwable and not from Exception derived throwable

This commit is contained in:
dankito 2022-02-12 23:47:02 +01:00
parent 4acb0f8e0d
commit 55881b5e79
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ abstract class TextDatenelement(var value: String?, existenzstatus: Existenzstat
throwInvalidCharacterException()
}
}
} catch (e: Exception) {
} catch (e: Throwable) {
throwInvalidCharacterException()
}
}