Kostya, thanks. I will never use a checked exception (being a C# programmer). Gary
On Apr 25, 2:31 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > 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 no throw > > in the method code. There is no Try Catch so it's not trying to quiet > > an exception. I might guess that it is saying that if any kind of > > exception occurs, quiet that exception and throw an SQL Exception?? > > Thanks, > > Gary > > > public NotesDbAdapter open() throws SQLException { > > mDbHelper = new DatabaseHelper(mCtx); > > mDb = mDbHelper.getWritableDatabase(); > > return this; > > }- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en