commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc.maison...@free.fr
Subject Re: svn commit: r981404 [1/3] - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/ main/java/org/apache/commons/math/analysis/integration/ main/java/org/apache/commons/math/analysis/interpolation/ main/java/org/apache/commons/math/analys...
Date Mon, 02 Aug 2010 09:01:13 GMT

----- "Gilles Sadowski" <gilles@harfang.homelinux.org> a écrit :

> > URL: http://svn.apache.org/viewvc?rev=981404&view=rev
> > Log:
> > Moved the localization framework used for exceptions in the
> exceptions package.
> > Its former place (in the utils package) was misleading as utils is
> rather for
> > numerical utilities, not low level library management
> > 
> 
> I think that it would have been better to create an "exception.util"
> package
> to contain the low-level utilities for localizing the exception
> messages.
> That would emphasize that only when creating new exceptions (i.e.
> designing
> classes in the "exception" package) one should use those utilities,
> but not
> when using exceptions within other code in the library.

But these classes are really public: they are used to provide the parameters for the exception
themselves so they appear to be at the same level as the exceptions.

Luc

> 
> > [...]
> 
> Gilles
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message