based on HP Fortify scan, rather than printing stack trace out it should be re=thrown so that inside information is not displayed