mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
暫定)エラーハンドリング
This commit is contained in:
1 file changed
+5
+5
@@ -169,7 +169,12 @@ public class ScannerDataManagerStubFragment extends Fragment {
|
|||||||
}
|
}
|
||||||
this.documentProcessor = documentProcessorFactory.create(this.documentDetail);
|
this.documentProcessor = documentProcessorFactory.create(this.documentDetail);
|
||||||
Toast.makeText(getActivity(), "documentProcessor created", Toast.LENGTH_LONG).show();
|
Toast.makeText(getActivity(), "documentProcessor created", Toast.LENGTH_LONG).show();
|
||||||
|
try {
|
||||||
this.documentProcessor.init();
|
this.documentProcessor.init();
|
||||||
|
} catch (Exception e) {
|
||||||
|
Toast.makeText(getActivity(), "Error occurred while initializing documentProcessor", Toast.LENGTH_LONG).show();
|
||||||
|
Log.e("ScannerDataManagerStubFragment", "Error occurred while initializing documentProcessor", e);
|
||||||
|
}
|
||||||
Toast.makeText(getActivity(), "documentProcessor initialized", Toast.LENGTH_LONG).show();
|
Toast.makeText(getActivity(), "documentProcessor initialized", Toast.LENGTH_LONG).show();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user