Closed GoogleCodeExporter closed 8 years ago
FacebookRestClient (and no client library code for that matter) should not call System.exit(1) on failure. This will shutdown an entire app server! static { try { JAXB_CONTEXT = JAXBContext.newInstance("com.facebook.api.schema"); SERVER_URL = new URL(SERVER_ADDR); HTTPS_SERVER_URL = new URL(HTTPS_SERVER_ADDR); } catch (MalformedURLException e) { System.err.println("MalformedURLException: " + e.getMessage()); System.exit(1); } catch (JAXBException e) { JAXB_CONTEXT = null; System.err.println("Could not get JAXB context: " + e.getMessage ()); e.printStackTrace(); } }
Original issue reported on code.google.com by rtier...@gmail.com on 11 Aug 2008 at 12:14
rtier...@gmail.com
good catch. it has been removed.
Original comment by fern...@gmail.com on 28 Aug 2008 at 10:25
fern...@gmail.com
Original issue reported on code.google.com by
rtier...@gmail.com
on 11 Aug 2008 at 12:14