List of usage examples for javax.naming NoInitialContextException toString
public String toString()
From source file:com.cyberway.issue.crawler.Heritrix.java
/** * @return Jndi context for the crawler or null if none found. * @throws NamingException // w w w . ja v a 2 s.c o m */ protected static Context getJndiContext() throws NamingException { Context c = null; try { c = JndiUtils.getSubContext(CRAWLER_PACKAGE); } catch (NoInitialContextException e) { logger.fine("No JNDI Context: " + e.toString()); } return c; }