|
From: Colin S. <col...@ex...> - 2005-04-04 18:23:29
|
We _could_ duplicate the class in util, and make the class in core a subclass. I don't know of how much value that would be at this point though, since all the code in Spring that throws it would still have to throw the old version, so APIs would not break. It would probably confuse things like crazy. Colin Erwin Vervaet wrote: > NestedRuntimeException should really have been in util I guess, but > it's to late to change that... > Erwin Vervaet > erw...@er... <mailto:erw...@er...> > > ----- Original Message ----- > *From:* Keith Donald <mailto:ke...@in...> > *To:* spr...@li... > <mailto:spr...@li...> > *Sent:* Monday, April 04, 2005 6:48 PM > *Subject:* [Springframework-developer] FW: package dependency > > Hey guys, > > Juergen and discussed this: a dependency on util -> core is NOT > acceptable. “core” is intended for higher-level utilities used > throughout Spring, for generic, more complete abstractions like > the Resource API. It may depend on util, but not the other way > around. Util is intended for low-level helpers, and should not > depend on any other package but stuff in JDK 1.3. Both go in > spring-core.jar. > > So in light of this, I’m relocating a good deal of packages from > util to core, the closure, enums, comparator, and string styler > support, respectively. This seems much better and solves the > problem I was facing: that is, a class needing > NestedRuntimeException, which is in the core. > > Keith > > ------------------------------------------------------------------------ > > *From:* Keith Donald [mailto:ke...@in...] > *Sent:* Sunday, April 03, 2005 8:30 PM > *To:* 'spr...@li...' > *Subject:* package dependency > > Is a package dependency from “util” to “core” acceptable? I could > really use NestedRuntimeException there... > > Keith > > Keith Donald > > http://www.springframework.com <http://www.springframework.com/> - > Spring Training, Consulting and Support - "From the Source" > -- Colin Sampaleanu Interface21 Principal Consultant Spring Training, Consulting and Support - "From the Source" http://www.springframework.com |