Yeah, I currently do:
throw new ConfigurationException(String.format("you 're not allowed to use %s
and %s together", that, other));
but we could overload the constructor of CacheException ...
On 15 Mar 2011, at 16:15, Mircea Markus wrote:
Hi,
Not a biggie, but I think it would be nice to use this nicer syntax for exception
messages, e.g.
throw new ConfigurationException("you 're not allowed to use %s and %s
together", that, other);
wdyt?
Cheers,
Mircea
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org