Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why Microsoft programmers who throw partially populated exceptions suck today. [modified]

Why Microsoft programmers who throw partially populated exceptions suck today. [modified]

Scheduled Pinned Locked Moved The Lounge
com
15 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Rob Philpott

    Hmm. Not where I work. 'The content has been blocked because of inappropriate content'. I've got about 5 minutes before the HR storm troopers arrive and give me a good kicking now....

    Regards, Rob Philpott.

    S Offline
    S Offline
    Simon P Stevens
    wrote on last edited by
    #3

    Rob Philpott wrote:

    'The content has been blocked because of inappropriate content'

    You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

    Simon

    R M realJSOPR W 4 Replies Last reply
    0
    • S Simon P Stevens

      Rob Philpott wrote:

      'The content has been blocked because of inappropriate content'

      You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

      Simon

      R Offline
      R Offline
      Rob Philpott
      wrote on last edited by
      #4

      Quite possibly! I have seen it on a computer not plugged into the nanny state and indeed harmless enough. Probably 'dropbox' is the bit they don't like.

      Regards, Rob Philpott.

      1 Reply Last reply
      0
      • S Simon P Stevens

        Rob Philpott wrote:

        'The content has been blocked because of inappropriate content'

        You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

        Simon

        M Offline
        M Offline
        merridus
        wrote on last edited by
        #5

        Maybe he works for Microsoft ;)

        - Rob

        1 Reply Last reply
        0
        • S Simon P Stevens

          Rob Philpott wrote:

          'The content has been blocked because of inappropriate content'

          You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

          Simon

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #6

          Many work places block photo sites like that. If you had your own web page and posted it there, it would be different.

          .45 ACP - because shooting twice is just silly
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

          S 1 Reply Last reply
          0
          • S Simon P Stevens

            Hey...something went wrong. See this blank page for no extra information[^]. [Work safe, no rudeness or anything, in fact, it probably looks more like work than CP does, just pull up this image and leave it on your screen for a few minutes while you take a well earned break]

            Simon

            modified on Wednesday, December 23, 2009 10:51 AM

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #7

            Well isn't it the implementation and thus the programmers who are responsible for this? Exceptions per se do not encourage or discourage bad practices.

            Regards, Nish


            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
            My latest book : C++/CLI in Action / Amazon.com link

            S 1 Reply Last reply
            0
            • S Simon P Stevens

              Rob Philpott wrote:

              'The content has been blocked because of inappropriate content'

              You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

              Simon

              W Offline
              W Offline
              wolfbinary
              wrote on last edited by
              #8

              Simon Stevens wrote:

              Rob Philpott wrote: 'The content has been blocked because of inappropriate content' You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

              I get the same thing. It sites it as personal storage. It's bureaucracy at it's finest. It makes them feel safer.

              realJSOPR 1 Reply Last reply
              0
              • W wolfbinary

                Simon Stevens wrote:

                Rob Philpott wrote: 'The content has been blocked because of inappropriate content' You've got some seriously strict filtering if screen shots of visual studio exception dialogs are considered "inappropriate content"

                I get the same thing. It sites it as personal storage. It's bureaucracy at it's finest. It makes them feel safer.

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #9

                But can you go here[^]? That's a web site on my own home server.

                .45 ACP - because shooting twice is just silly
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                N 1 Reply Last reply
                0
                • N Nish Nishant

                  Well isn't it the implementation and thus the programmers who are responsible for this? Exceptions per se do not encourage or discourage bad practices.

                  Regards, Nish


                  Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                  My latest book : C++/CLI in Action / Amazon.com link

                  S Offline
                  S Offline
                  Simon P Stevens
                  wrote on last edited by
                  #10

                  Very true. Please accept my correction: "Why Microsoft programmers who throw partially populated exceptions suck today."

                  Simon

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Many work places block photo sites like that. If you had your own web page and posted it there, it would be different.

                    .45 ACP - because shooting twice is just silly
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                    S Offline
                    S Offline
                    Simon P Stevens
                    wrote on last edited by
                    #11

                    John Simmons / outlaw programmer wrote:

                    If you had your own web page and posted it there, it would be different.

                    Ahh, but my company block outgoing ftp access, so I can't upload anything to my website from work. :laugh: Bit stuck there. [Actually I've been thinking about writing something for a while that processes and caches content from my dropbox account and includes it in my website - It would mean I could make updates easily from anywhere with a web connection]

                    Simon

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      But can you go here[^]? That's a web site on my own home server.

                      .45 ACP - because shooting twice is just silly
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                      N Offline
                      N Offline
                      Nagy Vilmos
                      wrote on last edited by
                      #12

                      John Simmons / outlaw programmer wrote:

                      But can you go here[^]?

                      where your opinions are noted, and then summarily ignored? Why bother...


                      Panic, Chaos, Destruction. My work here is done.

                      realJSOPR 1 Reply Last reply
                      0
                      • N Nagy Vilmos

                        John Simmons / outlaw programmer wrote:

                        But can you go here[^]?

                        where your opinions are noted, and then summarily ignored? Why bother...


                        Panic, Chaos, Destruction. My work here is done.

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #13

                        Because.

                        .45 ACP - because shooting twice is just silly
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                        1 Reply Last reply
                        0
                        • S Simon P Stevens

                          Hey...something went wrong. See this blank page for no extra information[^]. [Work safe, no rudeness or anything, in fact, it probably looks more like work than CP does, just pull up this image and leave it on your screen for a few minutes while you take a well earned break]

                          Simon

                          modified on Wednesday, December 23, 2009 10:51 AM

                          A Offline
                          A Offline
                          AspDotNetDev
                          wrote on last edited by
                          #14

                          Perhaps they meant "See the inner exception for details, if any exist."

                          [Forum Guidelines]

                          1 Reply Last reply
                          0
                          • S Simon P Stevens

                            Hey...something went wrong. See this blank page for no extra information[^]. [Work safe, no rudeness or anything, in fact, it probably looks more like work than CP does, just pull up this image and leave it on your screen for a few minutes while you take a well earned break]

                            Simon

                            modified on Wednesday, December 23, 2009 10:51 AM

                            D Offline
                            D Offline
                            Derek Viljoen
                            wrote on last edited by
                            #15

                            Here's my educated guess on what happened. It looks like this is a server-side exception in a WCF connection. I'll bet that the inner exception is something that you threw on the server side, but its not serializable, and so it comes through as null to the client. If you ever throw just "new Exception()" then it won't be serializable. Always use something that inherits from ApplicationException.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups