1.

Which error is invoked when SQLTransactionCallback does not execute?(a) INVALID_ACCESS_ERR(b) UNKNOWN_ERR(c) TIMEOUT_ERR(d) INVALID_STATE_ERRThis question was addressed to me in an interview for job.The query is from Web Databases in division HTML Images & Web Page Files of HTML

Answer»

The correct CHOICE is (d) INVALID_STATE_ERR

Explanation: When SQLTRANSACTIONCALLBACK, SQLStatementErrorCallback, SQLStatementCallback does not execute then INVALID_STATE_ERR ERROR is RAISED. This error is raised from INSIDE a SQLTransactionErrorCallback.



Discussion

No Comment Found

Related InterviewSolutions