public final class SimpleAsyncTransaction extends AsyncTransaction
A default implementation of AsyncTransaction for some simple transactions.
It might be convenient for a subclass to extend this class instead of
AsyncTransaction so it doesn't have to override both onResponseError and
onResponseOk but it could as well be missing either of them when doing so.
Therefore we make this class final to prevent that from happening.
super(manager, completion);
if (completion == null) {
// Since SimpleAsyncTransaction does nothing in onResponseOk
// and onResponseError, we must have a completion object to
// be able to notify someone.
throw new NullPointerException();
}