[android-developers] Newbie Java question
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;
}
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home