This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Exception.Try obsolete?

1 reply
Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 3 days ago.
(Sorry for cross-post. Possibly scala-users was wrong list for this)
The class Exception.Try has a private[Exception] constructor but is not actually instantiated anywhere else in Exception.scala from what I can see. Is this class unnecessary, or am I missing something?
Chris
Get a free e-mail account with Hotmail. Sign-up now.
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: Exception.Try obsolete?

On Wed, May 26, 2010 at 09:31:52AM +0000, christopher marshall wrote:
> (Sorry for cross-post. Possibly scala-users was wrong list for this)

No, it's fine, I just can't answer everything.

> The class Exception.Try has a private[Exception] constructor but is
> not actually instantiated anywhere else in Exception.scala from what I
> can see. Is this class unnecessary, or am I missing something?

Only that evolution often leaves one with "junk dna" or an appendix
until you go back and do some unnatural selection.

I had a big patch to that file which I checked in and reverted because I
thought - wrongly - that it was causing an issue in trunk that arose
around the same time. But now I'm assuming it's too late.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland