60

Sorry, but the app had to stay running. It was just a minor exception anyway.

try {
executeMainLoop();
}
catch (Exception ex) {
executeMainLoop();
}

Comments
  • 2
    Ehh... Then why not just handle it in the method that actually throws exception and not have the whole program crash?
  • 0
    @allanx2000 we did that eventually. It was not my proudest moment.
  • 1
    This is actually one piece of code you have to implement in android when you try to read a 401 from a UrlConnection. So you're not alone in this world.
  • 0
    @edisonn loop de loop
Add Comment