Re: [android-developers] Newbie Java question

2012-04-25 Thread Lindsay Mathieson
On Wed, 25 Apr 2012 02:24:28 PM g...@deanblakely.com wrote: > > public NotesDbAdapter open() throws SQLException { > mDbHelper = new DatabaseHelper(mCtx); > mDb = mDbHelper.getWritableDatabase(); > return this; > } One or both of the function calls (getWritableData

Re: [android-developers] Newbie Java question

2012-04-25 Thread Kostya Vasilyev
Google for "java checked exceptions". -- K On 04/26/2012 01:24 AM, g...@deanblakely.com wrote: I'm a C# developer porting my app to Android. The method pasted below has a "throws" clause in the method signature. Although I've looked at the docs, I don't understand what it is doing. There is

[android-developers] Newbie Java question

2012-04-25 Thread g...@deanblakely.com
I'm a C# developer porting my app to Android. The method pasted below has a "throws" clause in the method signature. Although I've looked at the docs, I don't understand what it is doing. There is no throw in the method code. There is no Try Catch so it's not trying to quiet an exception. I mi