Re: Model-View-Presenter (MVP) question



AndyW,

Thanks for your response. However, I still have the problem of handling
"special" events inside the model. What if an Exception is thrown
somewhere in my model, catched, and a Yes-No-Cancel dialog must be
shown to the user before continuing? How can I do that without making
the Model know about a Presenter/Controller/View?

Kaspar

.



Relevant Pages

  • Re: Checking if a website is online from a windows app
    ... I would agree that simply checking the length of the response ... a WebException will be thrown. ... available and yet an exception is not thrown when you call GetResponse? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Checking if a website is online from a windows app
    ... I would agree that simply checking the length of the response isn't an appropriate solution. ... You can look at the Response property of the WebException to see the details of the error, but in your case the mere fact that the exception is thrown would probably suffice. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Finding out if an exception occurred in a finally block. (.NET 2.0)
    ... The fact is, that all my logic handling the transaction is wrapped in a class, that is disposed using the using statement. ... you could rethrow the exception to be caught outside your transaction handling encapsulation. ... What you are asking is, apparently, "how do I find out if an exception was thrown before I got to the point where I'm now". ...
    (microsoft.public.dotnet.framework)
  • Re: best pratices in Exception Handling
    ... thrown as possible. ... Handling it late, that is, ... Reuse Java's built-in exception classes as much ... saving critical data, ...
    (comp.lang.java.programmer)
  • timeout
    ... I use in the loop code which creates WebRequest, ... response. ... After it is thrown ... exception with message "System.Net.WebException: The operation has ...
    (microsoft.public.dotnet.framework.webservices)