From: <pn...@hy...> - 2010-04-27 01:26:36
|
Author: pnguyen Date: 2010-04-26 17:27:10 -0700 (Mon, 26 Apr 2010) New Revision: 14548 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14548 Modified: trunk/src/org/hyperic/hq/agent/client/AgentConnection.java Log: [HHQ-3911] Include cause exception to improve debugging Modified: trunk/src/org/hyperic/hq/agent/client/AgentConnection.java =================================================================== --- trunk/src/org/hyperic/hq/agent/client/AgentConnection.java 2010-04-26 07:54:20 UTC (rev 14547) +++ trunk/src/org/hyperic/hq/agent/client/AgentConnection.java 2010-04-27 00:27:10 UTC (rev 14548) @@ -6,7 +6,7 @@ * normal use of the program, and does *not* fall under the heading of * "derived work". * - * Copyright (C) [2004, 2005, 2006], Hyperic, Inc. + * Copyright (C) [2004-2010], Hyperic, Inc. * This file is part of HQ. * * HQ is free software; you can redistribute it and/or modify @@ -213,7 +213,7 @@ throw new AgentConnectionException("EOF received from Agent"); } catch(IOException exc){ throw new AgentConnectionException("Error reading result: " + - exc.getMessage()); + exc.getMessage(), exc); } finally { try { streamPair.close(); |