Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 82911 invoked from network); 6 Mar 2004 00:11:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Mar 2004 00:11:43 -0000 Received: (qmail 91358 invoked by uid 500); 6 Mar 2004 00:11:24 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 91318 invoked by uid 500); 6 Mar 2004 00:11:23 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 91283 invoked from network); 6 Mar 2004 00:11:23 -0000 Received: from unknown (HELO mx1.try.sybase.com) (130.214.10.19) by daedalus.apache.org with SMTP; 6 Mar 2004 00:11:23 -0000 Received: from mail.try.sybase.com (mail.try.sybase.com [130.214.10.18]) by mx1.try.sybase.com (8.11.6/8.11.0) with ESMTP id i25N96205180; Fri, 5 Mar 2004 16:09:06 -0700 Received: from tsws1 ([10.22.120.107]) by mail.try.sybase.com (8.11.6/8.11.6) with SMTP id i25Nrek30768; Fri, 5 Mar 2004 16:53:41 -0700 Message-ID: <0b8e01c4030f$8cc833e0$d88b1f43@tsws1> From: "Adam R. B. Jack" To: , "Jakarta Commons Developers List" Cc: "Gump code and data" Subject: [ws-xmlrpc|codec] ws-xmlrpc fails on Gump when compiling against codec ... Date: Fri, 5 Mar 2004 17:11:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ws-xmlrpc recently started failing to be Gumped against codec, see: http://lsd.student.utwente.nl/gump/ws-xmlrpc/ws-xmlrpc.html inside the build: http://lsd.student.utwente.nl/gump/ws-xmlrpc/gump_work/build_ws-xmlrpc_ws-xmlrpc.html stating: [javac] /data3/gump/ws-xmlrpc/src/java/org/apache/xmlrpc/DefaultTypeFactory.java:133 : exception org.apache.commons.codec.DecoderException is never thrown in body of corresponding try statement [javac] catch (DecoderException e) { [javac] ^ This confused me, because looking in CVS the createBase64() method in: http://cvs.apache.org/viewcvs.cgi/ws-xmlrpc/src/java/org/apache/xmlrpc/DefaultTypeFactory.java has try { return base64Codec.decode(cdata.getBytes()); } catch (DecoderException e) { //TODO: consider throwing an exception here? return new byte[0]; } But the decode() method in this class does state it could throw: org.apache.commons.codec.DecoderException see: http://cvs.apache.org/viewcvs.cgi/jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Base64.java Does anybody see anything I'm missing? regards Adam -- Experience the Unwired Enterprise: http://www.sybase.com/unwiredenterprise Try Sybase: http://www.try.sybase.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org