我特别谨慎地处理我的手表中来自ORMLite的所有飞弹,只是发现,在ORML的地下和甲状腺的泥q中,像仅仅不小心,就会出现一些暂时的例外情况。
是否有办法避免不得不处理 Android和OR塞?
这里的样本是从一种能够收集到QQQExceptions的方法中找到的,但显然并非是QQ。
E/AndroidRuntime( 7308): Caused by: android.database.sqlite.SQLiteException: unable to open database file E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1821) E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:817) E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:851) E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:844) E/AndroidRuntime( 7308): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:544) E/AndroidRuntime( 7308): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203) E/AndroidRuntime( 7308): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98) E/AndroidRuntime( 7308): at com.j256.ormlite.android.AndroidConnectionSource.getReadWriteConnection(AndroidConnectionSource.java:60) E/AndroidRuntime( 7308): at com.j256.ormlite.android.AndroidConnectionSource.getReadOnlyConnection(AndroidConnectionSource.java:50) E/AndroidRuntime( 7308): at com.j256.ormlite.stmt.StatementExecutor.buildIterator(StatementExecutor.java:189) E/AndroidRuntime( 7308): at com.j256.ormlite.stmt.StatementExecutor.query(StatementExecutor.java:153) E/AndroidRuntime( 7308): at com.j256.ormlite.dao.BaseDaoImpl.query(BaseDaoImpl.java:245) E/AndroidRuntime( 7308): at com.j256.ormlite.stmt.QueryBuilder.query(QueryBuilder.java:250) E/AndroidRuntime( 7308): at au.com.ninthavenue.android.notes.application.TagsEM.getRecentTags(TagsEM.java:229) E/AndroidRuntime( 7308): at au.com.ninthavenue.android.notes.activities.EditNote.loadTags(EditNote.java:257) E/AndroidRuntime( 7308): at au.com.ninthavenue.android.notes.activities.EditNote.onCreate(EditNote.java:119)