Hi,
-----Oorspronkelijk bericht-----
Van: Raul Benito [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 2 november 2004 10:09
Aan: [EMAIL PROTECTED]
Onderwerp: Re: RuntimeException
Hi,
I' m testing with 1.2RC1 release. I have this test that removes a signed element and then tries to verify the signature over the removed. In release 1.1 this resulted in a XMLSignatureException and now it results in a RuntimeException. When the signed element is missing I'd like my software component to return that the verification failed. What is the rational behind the XMLSignatureInput throwing a RuntimeException? And if I'm not happy with that RuntimeException how can I prevent it from being thrown?
After looking the code, I don't see how you can hit the throw RuntimeException instruction. Can you post your test case?
Regards,
Raul http://r-bg.com
