Re: how to let user instll: System_SR_de.cab

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 07/20/04

  • Next message: objectref: "Re: Problem with emulator when not connected to the internet(...)"
    Date: Tue, 20 Jul 2004 09:27:21 +0100
    
    

    Ilya Tumanov [MS] <ilyatum@online.microsoft.com> wrote:
    > All errors are _your_ errors even if thrown from somebody else's code.
    > This is because these errors are result or _your_ actions.
    >
    > Say, there's error in SMTP function. This is because _you_'re using SMTP
    > and something gone bad.
    > It's up to you to catch these exceptions and take corrective action and/or
    > display a high level message to your customer.
    >
    > This message can not be technical like messages in System.SR.
    > It should explain what's going in terms your customers would understand.
    > You should also suggest corrective action if you can.
    >
    > For example, you get System.IOException on attempt to read e-mail.
    > You should not just print out exception message (which would be "Unable to
    > read data from the transport connection").
    >
    > Instead, you should:
    >
    > 1. Retry couple times.
    > 2. If unsuccessful, print out message like this: "Could not get mail from
    > the server, please try again later or contact support at 555-1234".

    And then support has the problem of not having the detailed error
    message. If you could *optionally* also get the "Unable to read data
    from the transport connection" that could quite possibly be helpful to
    the support department.

    > Bottom line: your customer's don't need System.SR as it contains technical
    > messages for developers they would not understand.
    > It's up to you to provide adequate error description.

    I disagree with this strongly. While it is certainly true that you
    should give customers a non-technical error message, that *doesn't*
    mean that they don't need System.SR. Our app, for instance, will log
    exceptions, and the logs will be propagated to the server. This means
    that any error messages can be read by a system administrator and, if
    necessary, passed on to our support department.

    The idea that a user app doesn't need to be able to get a detailed
    technical error message is a really bad one, IMO. There's a difference
    between presenting the user with it by default and being *able* to get
    to it for troubleshooting purposes.

    -- 
    Jon Skeet - <skeet@pobox.com>
    http://www.pobox.com/~skeet
    If replying to the group, please do not mail me too
    

  • Next message: objectref: "Re: Problem with emulator when not connected to the internet(...)"

    Relevant Pages

    • Re: Error Handling
      ... exceptions are a reasonable approach to some input errors but that seems to ... indicating if the data is good or not but how does the error message get ... if the error message is "Invalid username and/or password", ... so logging just the username can also ...
      (comp.lang.java.programmer)
    • Re: Design Questions about static factory classes
      ... JSpinner for some reason; it can't do everything I need it to do. ... customer is given a simple JTextField for entering a date. ... We've had arguments about the proper use of exceptions on this ... i wouldn't show the exception's error message to the user. ...
      (comp.lang.java.programmer)
    • Re: Best way to handle exceptions with try/finally
      ... Specify the exceptions you intend to ... such a catch-all clause with a misleading error message saying some file ... def putVar(self, variableName, value): ...
      (comp.lang.python)
    • Re: Help me in making users/deleting users in active directory
      ... What is the error message the code generates? ... Many of the exceptions generated by AD code are security and ... >Public Sub Makeuser(ByVal DcDNS As String, ByVal username As String, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: confusion about Exception Mechanism
      ... When I first encountered exceptions, they were a bit confusing for me too. ... Python won't just spit out an error ... It stores this extra information in "errno" and "strerror". ... It will print an error message, ...
      (comp.lang.python)