It’s not like NPEs are a problem

Posted by: on Jan 17, 2012 | No Comments


try {
integrationService = ServiceLocator.lookup(IntegrationService.class, "IntegrationServiceBean");
} catch (final RuntimeException e) {
System.out.println("RuntimeException");
return null;
}

This is all running inside a web container. I hope I never have to debug that code.