On 6/16/2011 9:21 AM, Mike Duigou wrote:
Perhaps the chained exception constructor would also be useful. I can imagine
that whatever was parsing the signature might throw an exception with it's
parse state that could then be captured (without needing to use initCause()) in
the thrown GenericSignatureFormatError
Mike
Hi Mike.
At least as currently used in the JDK, the String constructor would
suffice -- there are no causal exceptions in how the signature parser is
coded.
(If we were to add a third constructor taking a cause, we should also
add a fourth constructor taking a cause and a message.)
-Joe