diff --git a/android/android/src/de/benibela/videlibri/activities/ImportExport.kt b/android/android/src/de/benibela/videlibri/activities/ImportExport.kt index e1af8ea6..a2a2b6f0 100644 --- a/android/android/src/de/benibela/videlibri/activities/ImportExport.kt +++ b/android/android/src/de/benibela/videlibri/activities/ImportExport.kt @@ -285,7 +285,7 @@ class Import : ImportExportBase() { if (data == null) data = try { Bridge.VLImportAccountsPrepare(filename) - } catch (e: InternalError){ + } catch (e: de.benibela.videlibri.jni.InternalError){ showMessage(getString(R.string.import_file_open_failed) + ":\n" + e.message) null } @@ -330,7 +330,7 @@ class Import : ImportExportBase() { File(state.fileName).delete() state.fileName = "" this.data = null - } catch (e: InternalError) { + } catch (e: de.benibela.videlibri.jni.InternalError) { showMessage(e.message) } } diff --git a/android/android/src/de/benibela/videlibri/activities/NewLibrary.kt b/android/android/src/de/benibela/videlibri/activities/NewLibrary.kt index 14bea11f..c6741fd1 100644 --- a/android/android/src/de/benibela/videlibri/activities/NewLibrary.kt +++ b/android/android/src/de/benibela/videlibri/activities/NewLibrary.kt @@ -115,7 +115,7 @@ class NewLibrary : VideLibriBaseActivity() { val details = try { Bridge.VLGetTemplateDetails(template) ?: return - } catch (e: InternalError) { + } catch (e: de.benibela.videlibri.jni.InternalError) { showMessage(e.localizedMessage) return } diff --git a/android/android/src/de/benibela/videlibri/activities/SourceEdit.kt b/android/android/src/de/benibela/videlibri/activities/SourceEdit.kt index eca2c91f..30392c8f 100644 --- a/android/android/src/de/benibela/videlibri/activities/SourceEdit.kt +++ b/android/android/src/de/benibela/videlibri/activities/SourceEdit.kt @@ -183,7 +183,7 @@ class SourceEdit : VideLibriBaseActivity() { Bridge.VLReloadLibrary(selection2[fileSpinner.selectedItemPosition].replace(".xml", "")) else Bridge.VLReloadTemplate(templateIds[pos - 1]) - } catch (e: InternalError) { + } catch (e: de.benibela.videlibri.jni.InternalError) { showMessage(e.localizedMessage) }