Important milestone: session timeout handled gracefully. Activity runnables now reauthenticate if the stored auth_token has expired. This fixes the single most common crash problem. Code follows this model:
getHoldsRunnable = new Runnable() {
public void run() {
try {
holdRecords = accountAccess.getHolds();
} catch (SessionNotFoundException e) {
try {
if (accountAccess.reauthenticate(HoldsListView.this))
holdRecords = accountAccess.getHolds();
} catch (Exception eauth) {
System.out.println("Exception in reauth");
}
}
}
}
At the same time,
* removed obsolete exceptions
* added support for Intellij IDE