- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Exception.Try obsolete?
Wed, 2010-05-26, 10:34
(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.
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.
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.