This might be unsuitable for SO since it isn't really a coding-problem, but I couldn't find a satisfying answer yet and I believe the SO-community can.
So, by definition android.database.SQLException and java.sql.SQLException share about the same scope of application, which is to provide information about errors while accessing/modifying a database. Though I've read somewhere that checked exceptions are "out", I really like the fact that the compiler reminds you of handling exceptions when you use checked exceptions with the throws
keyword. Unfortunately this doesn't work with unchecked exceptions.
My question is:
Why did Google make their android.database.SQLException
unchecked when java.sql.SQLException
is checked? Am I missing something? Do they differ more than I think?