Fixed that encoder may throws an from Throwable and not from Exception derived throwable
This commit is contained in:
parent
4acb0f8e0d
commit
55881b5e79
|
@ -42,7 +42,7 @@ abstract class TextDatenelement(var value: String?, existenzstatus: Existenzstat
|
|||
throwInvalidCharacterException()
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
} catch (e: Throwable) {
|
||||
throwInvalidCharacterException()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue