View by Classes

Findings - Overview

info Method throws alternative exception from catch block without history (Findbugs)

Further info on the wiki.

This method catches an exception, and throws a different exception, without incorporating the original exception. Doing so hides the original source of the exception making debugging and fixing these problems difficult. It is better to use the constructor of this new exception that takes an original exception so that this detail can be passed along to the user.

5org.jcoderz.commons.connector.http.transport.ClientHandler
Method org.jcoderz.commons.connector.http.transport.ClientHandler.read(int) throws alternative exception from catch block without history (test code) [620],
Method org.jcoderz.commons.connector.http.transport.ClientHandler.readHeaderAttributes() throws alternative exception from catch block without history (test code) [330],
Method org.jcoderz.commons.connector.http.transport.ClientHandler.readRequestBody() throws alternative exception from catch block without history (test code) [497],
Method org.jcoderz.commons.connector.http.transport.ClientHandler.readRequestBody() throws alternative exception from catch block without history (test code) [510],
Method org.jcoderz.commons.connector.http.transport.ClientHandler.readRequestLine() throws alternative exception from catch block without history (test code) [271]
2org.jcoderz.commons.ServerTestCase
Method org.jcoderz.commons.ServerTestCase.runBare() throws alternative exception from catch block without history (test code) [77],
Method org.jcoderz.commons.ServerTestCase.runBare() throws alternative exception from catch block without history (test code) [83]
1org.jcoderz.commons.TestCase
Method org.jcoderz.commons.TestCase.getSuite(Class) throws alternative exception from catch block without history (test code) [179]