Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 98479 invoked from network); 24 Aug 2002 19:36:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Aug 2002 19:36:29 -0000 Received: (qmail 3805 invoked by uid 97); 24 Aug 2002 19:37:00 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 3789 invoked by uid 97); 24 Aug 2002 19:37:00 -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 3762 invoked by uid 98); 24 Aug 2002 19:36:59 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Sender: dlr@finemaltcoding.com To: "Jakarta Commons Developers List" Subject: Re: [lang] 1.0 release foci (fwd) References: From: Daniel Rall Date: 24 Aug 2002 12:36:33 -0700 In-Reply-To: Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Regarding printStackTrace() in ExceptionUtils, I ended up adding methods for manipulating stack frames, rather than for printing them to provides more flexibility for the user. String getStackTrace(Throwable) String[] getStackFrames(Throwable) Supplying this API also side steps possible mis-matches in the semantics of printStackTrace(). Since different Throwable implementations may or may not implement printStackTrace() to print the _entire_ stack trace (especially if their nested trace isn't recognized by the impl as another link in the exception chain), we would cause confusion by saying that an ExceptionUtils implementation will always print the full trace of the entire exception chain. It's possible that there's a way around this; if so, we can always add it later, implementing it with the methods defined above. -- Daniel Rall -- To unsubscribe, e-mail: For additional commands, e-mail: