On 04/27/2013 10:10 PM, Jaikiran Pai wrote:
On Saturday 27 April 2013 09:11 PM, James R. Perkins wrote:
> Not that wouldn't work. Each invocation of fooBar() will return a new
> instance of SomeException.
Ok. I thought that for no param messages the return type would be cached
and reused.
Exceptions capture a new stack trace for each instantiation, so they're
not often equal even if their inputs all seem equal.
--
- DML