Re: hi



Hi Yoav,

Unfortunately, that is not possible. As you said, the custom assertion
always receives a SoapException instead of the original exception.
I had the same problem when I tried to implement the ExceptionShield pattern
for the "Patterns & Practices Security guide".

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

"YC" <YC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:704DB5F3-F45C-4518-B47F-F4B288736121@xxxxxxxxxxxxxxxx
Hi,
I've created a custom exception assertion.
The assertion is placed at the and of the policy assertions.

I'm trying to catch all the application exceptions within this custom
exception assertion.
I understand that I can't catch the WSE security exceptions(e.g. can't
find
the security token etc) but regarding the rest of the exceptions - I get
onlt
SoapExceptions in my custom assertion. Is it possobile to get the original
exception and not the SoapException in the custom assertion?

Thanks

Yoav


.



Relevant Pages

  • Re: Cpp Considered Harmful
    ... arraythrows an exception for you if x is out of ... In a C language, you have the option to either cross your fingers ... provide an assertion that only compiles without NDEBUG activated. ... formats the expression's value as a string. ...
    (comp.lang.cpp)
  • Re: WSE 3.0 Policy and Encrypting Custom Headers (XML Encryption S
    ... > Hi Todd, ... > We made a custom assertion, which encrypts custom headers using X509 ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Ensuring a method is overridden
    ... invariants that would cause an exception anyway (such as a collection ... which is a built-in assertion you can not disable) ... is the runtime type of the class. ... has a specific technical meaning. ...
    (comp.lang.java.programmer)
  • Re: Ensuring a method is overridden
    ... Technically, they are Exceptions, specifically RuntimeExceptions, but that doesn't prevent them from being a kind of JVM level assertion. ... If invoking a method on a null pointer didn't throw an exception, ... To argue that you meant it in "the English sense of the word" when you didn't say so at first is misleading. ... Please be aware that when you use a specific technical term in its specific technical context, that people will expect the technical meaning not the non-technical meaning, and to pretend otherwise only causes confusion. ...
    (comp.lang.java.programmer)
  • Re: Sampling rate required to resolve separate sonar echoes
    ... That may be too strong an assertion. ... Suffice it to say that -- with the ... exception of a toy system -- I never made on work satisfactorily with ...
    (comp.dsp)

Loading