Advice on implementing Exception Management Block

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Advice on implementing Exception Management Block

    Hi There

    I am busy evaluating using the Exception Management Block in my web app.
    I have divided my solution into 3 projects.
    1) WebApp
    2) Business Tier Library
    3) Data Tier Library

    Where would I call ExceptionManager.Publish from? My WebApp only or all
    tiers?

    Hope thats clear.

    S


    SamIAm Guest

  2. Similar Questions and Discussions

    1. Advice please on UDF management
      Hi, I want to change the way I manage my UDFs so that each UDF is stored in it's own file rather than as libraries... Currently I have a UDFs...
    2. is it possible to block access to system.management.interface in shared hosting?
      I want to be able to block ASP.net calls to WMI in a win2003 shared hosting environment and can't seem to find instructions on how to do this. Any...
    3. Problem with Exception Mgt. App Block on W2k Server
      I'm about at wit's end getting the exception block to operate at all on our Win 2000 server. All is well on my local workstation, but the block...
    4. Implementing Security - Advice Please
      I am in the process of writing a fairly large ASP.NET web application and I am about to implement log-ons, permissions etc. I have never used any...
    5. Bad magic number in super-block (urgent advice needed)
      In article <vfo9vffip8oc87@corp.supernews.com>, pablo wrote: this is just general comment, from past experience. fsck s/b able to find an...
  3. #2

    Default Advice on implementing Exception Management Block

    There are number of approaches depending upon hwo u want
    to mange ur exceptions.

    First Approach
    Keep throwing the exception and cath it the Web
    applciation layer and call ExceptionManager.Publish.
    Here stack trace will be long from the line where the
    exception is thrown to the point wehre the exception is
    finally published.

    Second approach
    Have a custom Exception object and throw it from nesetd
    methods and passing information like method/Object/ to
    the custom Exception object.
    Cath is in Web applcication layer and call the Publish.

    Though the above 2 are generalized approcahes to
    Exception handling ... but u might need to Customize it
    according to what u need to display on Web trier.

    -Vineet Batta
    MCAD


    >-----Original Message-----
    >Hi There
    >
    >I am busy evaluating using the Exception Management
    Block in my web app.
    >I have divided my solution into 3 projects.
    >1) WebApp
    >2) Business Tier Library
    >3) Data Tier Library
    >
    >Where would I call ExceptionManager.Publish from? My
    WebApp only or all
    >tiers?
    >
    >Hope thats clear.
    >
    >S
    >
    >
    >.
    >
    vineet.batta Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139