List of usage examples for java.io NotActiveException printStackTrace
public void printStackTrace()
From source file:org.iavante.sling.gad.content.impl.ContentToolsImpl.java
/** * Returns the public content url./*from ww w .j a va 2 s . com*/ * * @param node * The current node * @return url */ private String get_url(Node node) throws RepositoryException { String url = ""; String format = ""; String fileName = content_creation.getFilenameFromNode(node, format); if (fileName.equals("")) { return ""; } try { url = downloader_tool.getUrl(fileName); } catch (NotActiveException e) { e.printStackTrace(); } if (fileName.endsWith(".flv")) url = url + ".flv"; if (log.isInfoEnabled()) log.info("Downloader url: " + url); return url; }