Vendor independent exception processing

I write a library that works with Oracle or MS SQL databases using .Net providers. Wrappers for IDbConnection, IDbCommand and so on. But I've got the problem with exception processing: SqlException and OracleException classes derived from SystemException, not from the DataException. So I don't know how to distinguish database exceptions from other exceptions derived from SystemException class. Any suggestions?

Here's how to catch only OracleExceptions and SqlExceptions:
      try
      catch (Exception ex)
        if (ex is OracleException)
          OracleException oex = (OracleException)ex;
        else if (ex is SqlException )
          SqlException sqlEx = (SqlException) ex;
        else
          throw;
      }David

Similar Messages

  • Error message with Vista and 7.2: Windows-No Disk Exception Processing Mess

    I just got a new Dell computer with Windows Vista and I am trying to put iTunes on it. I can install it fine from the original CD, and then I am prompted to update it to 7.2. After updating, this is the message that I get: Windows-No Disk, Exception Processing Message 0xc0000013 Parameters 0x7620023C 0c847CDB4C 0x7620023C (Cancel Try Again Continue). If I click on any button countless times, iTunes does open up but then I get the blue screen dump message. I have installed and uninstalled it many different times and have tried any of the additional updates/patches with no effect. I did not see this message anywhere else in the forum, anyone able to help?

    Unexplained Crashes, lock-ups, Failure to boot and boot-looping in Vista and XP and MAC OS-X.
    Have a USB2 external hard drive hooked up to your system? A number of these devices are starting to show up as the cause of the problems listed above. The cause has been linked to drives that were manufactured a year or more ago. Note I said manufactured not purchased. The cause is poor USB 2.0 specifications that the drive case manufactures followed which has deteriorated with age causing the above failures. If this happens to you try disconnecting your external drive and see if your problem goes away. A couple of multifunction printers have also been the cause of similar problems but most of these have higher visibility on internet search engines than the external hard drives. 
    Sorry, no KB article link. The above is from my reseller, who deals in imaging workstations exclusively.
    Hunt

  • No Disk error/Exception Processing Message keeps appearing

    THIS IS A BUG!
    When I have a song listed in itunes but it can't find it on my hard disk, I get the message:
    WINDOWS - NO DISK
    Exception Processing Message c0000013 Parameters 75b6f9c 756bf9c 75b6f9c
    CANCEL TRY AGAIN CONTINUE
    This used to cause my system to HANG everytime it appeared. (Needed a COLD REBOOT.) I reinstalled itunes and now it doesn't hang, but the message shows up frequently! What a pain!

    I get this same message every time I start iTunes. It started happening after my most recent update of QuickTime. I have removed and re-installed both iTunes and QuickTime but I continue to get this exact error message.

  • Windows No Disk - Exception Processing Message

    I just got this error when trying to open my Adobe Premier 7.0 out of the blue... Windows - No Disk. Exception Processing Message... anyone know how to fix this?

    Unexplained Crashes, lock-ups, Failure to boot and boot-looping in Vista and XP and MAC OS-X.
    Have a USB2 external hard drive hooked up to your system? A number of these devices are starting to show up as the cause of the problems listed above. The cause has been linked to drives that were manufactured a year or more ago. Note I said manufactured not purchased. The cause is poor USB 2.0 specifications that the drive case manufactures followed which has deteriorated with age causing the above failures. If this happens to you try disconnecting your external drive and see if your problem goes away. A couple of multifunction printers have also been the cause of similar problems but most of these have higher visibility on internet search engines than the external hard drives. 
    Sorry, no KB article link. The above is from my reseller, who deals in imaging workstations exclusively.
    Hunt

  • Windows - No Disk Exception Processing Message on iTunes start-up

    Every time I start up iTunes I get this annoying Windows Error Message.
    Windows – No Disk
    Exception Processing Message c000001e Parameters 75b6bf9c 4 75b6bf9c 75b6bf9c
    Cancel Try Again Continue
    If I click any combination of the three buttons many times it eventually goes away.
    Then, it also happens when doing any operation with a song file such as conveting format or it rate. In this case it may lock up iTunes and require a C-A-D to get out of the application.
    HELP!!
    I've tried updating the iTunes software
    Medion   Windows XP  
    Medion   Windows XP  

    Unexplained Crashes, lock-ups, Failure to boot and boot-looping in Vista and XP and MAC OS-X.
    Have a USB2 external hard drive hooked up to your system? A number of these devices are starting to show up as the cause of the problems listed above. The cause has been linked to drives that were manufactured a year or more ago. Note I said manufactured not purchased. The cause is poor USB 2.0 specifications that the drive case manufactures followed which has deteriorated with age causing the above failures. If this happens to you try disconnecting your external drive and see if your problem goes away. A couple of multifunction printers have also been the cause of similar problems but most of these have higher visibility on internet search engines than the external hard drives. 
    Sorry, no KB article link. The above is from my reseller, who deals in imaging workstations exclusively.
    Hunt

  • How do I get rid of "Windows No Disk Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c" when firefox starts up ? Does not show a solution!

    How do I get rid of "Windows No Disk Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c" when firefox starts up, I have to hit continue twice to get past this error message. Then all is OK. The solution shown for this thread does not make sense.
    == This happened ==
    Every time Firefox opened
    == Firefox was updated

    In Google, search for ""Windows No Disk Exception Processing" (including quotation marks). Lots of different answers out there.
    632 results on this search limited to the last year:
    https://encrypted.google.com/advanced_search?q=%22Windows+No+Disk+Exception+Processing%22&hl=en&lr=&tbs=qdr:y&prmd=df

  • Exception processing message error cannot open illustrator

    I have Illustrator CS4 running on a PC with double quad processor and 4 Gb or RAM, running on a XP-Professional platform.
    I have had a lot of problems with all sort of crashes, which have delayed my due date for these projects and no answers on any of the reports I have sent.
    Anyways, today I came and turn on my computer and when trying to launch illustrator this error appears.
    'Exception Processing Message c0000013 Parameters 7c7df5f8 9cc8b118 7c7df5f8 7c7df5f8
    It comes with 3 options Cancel Try Again and Continue
    If I select Try Again it continues poping up at forever basis.
    If I select Cancel just kills the opening of the program
    If I select Continue, the message repeats itself several times until the program opens, but then once I'm working on the file, another message appears saying, FILE NOT READABLE.
    I have more than 200 Gb free on disk and I have not moved any file from it's original location.
    I am just one step of getting fired if I cannot complete this task by the end of today and the program is killing me, please help how can I fix this problem?
    It is incredible that I have these many problems for one program.
    Thanks.

    It is running in a 64bit OS, not 32, and amazingly all the programs work just fine exce
    pt illustrator, not even photoshop, autocad, inventor, solidworks....
    Intel(R) Core(TM)2 Quad CPU
    Q8300 @ 2.50 GHz
    3.99 GB of RAM
    The CPU Usage  is about 24% Max.... when doing tasks
    And the PF Usage is no more than 1.13 GB RAM Which should be more than enough to handle the program don't you think?
    I wonder how the people using the minimum requirements work with way less problems than these?
    Yes, it should be a dll problem, I wonder how can I fix it.

  • "Exception Processing Message" error when clicking the Accessing Server Data link on the start page

    When I first started the application, I click the Accessing Server Data link on the start page.  I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk".  I had to used Task Manager to remove the box after closing Flash Builder 4.  I then tried the video tutorial on "PHP Services in Flash Builder 4".  I keep receiving an error during service introspection trying to connect to the PHP class.  It was the same error as the other individual "Cannot Connect to PHP Service".  So I tried another tutorial and generated a sample PHP class.  I moved a datagrid on to the stage, droped in the getAllItems function, and configured the return type.  However, when I ran the app, I received the same error "Exception Processing Message" again.  I have attached the screenshot of the error in addition to my phpinfo and log files.

    "The exception process message" is definitely a issue. Is it happening consistently, if so can you file a bug at bugs.adobe.com/flex and give out your machine config details, and the error log.
    With regards to generating a new php file and the introspection error that you are getting, looking at the logs it probably is two fold.
    First off the name of the file and the class name should be the same, are you having employeeServices as the name of the class in employeeServices.php file.
    Second, It seems prior to generating this new file, you had a syntax error at line 5.
    It would be easier to figure out what the error is, if you can also attach the php file, by removing any sensitive information in that.
    Hope this helps.
    Thanks
    -Sunil

  • Exception Processing Question -Reply

    I don't use Forte (yet--that's why I joined the mailing list), but since your
    question is a generic "engineering practices" question, I'll chime in. I do
    use exceptions both in C++ in Delphi, and have developed some opinions
    about how to use them:
    - Use exceptions for handling "behavior unexpected in the normal course
    of your algorithm". In other words, instead of returning error codes
    when something goes wrong, throw an exception.
    One example of this is in a parser: if you get an illegal token, just throw
    an exception.
    - When you need to make a choice based on a return status, don't throw
    an exception. In the parser example, if you get token 'A', you need to do
    one thing and if you get token 'B' you need to do another.
    - There's a fine distinction between "handling an error" and "making a
    choice", and there are cases where you could argue one way or the
    other. I'd say that an error throws an exception when it would normally
    terminate the normal flow of execution. For example, "out of memory" or
    "illegal token".
    - Catch exceptions at "high level" process start/end points, or where it is
    required to clean up resources held and rethrow.
    - Don't catch exceptions in every single method--it defeats the purpose.
    User Interfaces:
    - If your user-interface dictates a logical place to unwind no further,
    catch exceptions there. For example: In the Windows world most apps
    are a window with a menu. If you pull down and pick a menu item to
    execute a command, and that command throws an exception, the
    exception should be caught, a modal message box indicating the error
    should be presented, and then when the user clicks "ok", the program
    returns to its normal waiting state with the window intact.
    - If you have a modal dialog up, throwing an exception should either stop
    at the dialog's event loop or take the dialog down with it.
    I'd say that on-screen data validation should NOT use exceptions
    because "user typing invalid data" is expected behavior for a UI.
    Besides, the UI designer should be smart enough to deal with giving you
    a good model for data validation. OTOH, if you take the data out of the
    dialog and then pass the information as parameters to a function, and
    that function can't handle one of the parameter values, it should throw an
    exception.
    Nevertheless, if your dialog runs out of memory for some reason, it
    should throw an exception and the dialog should come down.
    Hope this helps.
    -- Conrad Herrmann
    Jerry Fatcheric <[email protected]> 07/24/96 03:29am >>>
    I have a toss up question for 50 points -
    We have finished the first phase of our project and have place
    exception processing in the places where we saw exceptions could be
    raise. But what about those other exceptional exceptions?
    Is this just good programming practice to have a high level generic
    exception handler (and what should it really do??) or is it critical.
    In addition, when handling data validation on specific widgets on a
    screen (e.g. the account number entered must be one of the existing
    10,000 valid ones), should this be handled via exception processing or
    should it just be handled with code in the event loop?
    Any opinions - please I don't want to hear the Forte Party line.
    I would like to hear opinions based upon real experience.
    Jerry Fatcheric
    Relational Options, Inc.
    Florham Park, New Jersey
    201-301-0200
    201-301-00377 (FAX) [email protected]

    We have finished the first phase of our project and have place
    exception processing in the places where we saw exceptions could
    be raise. But what about those other exceptional exceptions?
    Is this just good programming practice to have a high level
    generic exception handler (and what should it really do??) or
    is it critical.IMHO, you need to program for these ones that could occur because
    if you don't the exception will still happen except without
    your normal graceful (or standard) approach manner. I think it is good programming
    practice to trap on the ones you think can possible occur if they require
    something different in how they react. Otherwise, use of GenericException
    with a proper response is called for.
    >
    In addition, when handling data validation on specific widgets
    on a screen (e.g. the account number entered must be one of the
    existing 10,000 valid ones), should this be handled via exception
    processing or should it just be handled with code in the event loop?
    I use event loop processing because most of the time I am also
    keeping the user on the same widget after cancelling all events
    posted. So, in effect they are back where they started from.
    Any opinions - please I don't want to hear the Forte Party line.
    I would like to hear opinions based upon real experience.
    Jerry Fatcheric
    [email protected]@Sagesoln.com
    my 2 cents, or should I say my attempt at 50 points, Jerry.
    Len Leber
    ATG Partners

  • Have you received "Exception processing Message" when opening iTunes?

    When I attempt to open iTunes my computer gives me the following message "Exception processing message c0000013 Parameters 75b6bf9c 4 75b6bf9c 75b6bf9c" In top left corner of the window it says Windows no disk.
    I have uninstalled iTunes and reinstalled but it does the same thing. What's more frustrating is when you buypass the message, open iTunes, and then try to download album art, the message pops up with every album searched. Any ideas????

    hmmmm. i managed to find one discussion on that error message over at the Windows Newsgroups (they were getting it from different programs):
    Discussions in Virus Discussions
    (click on the post with the title "exception processing message c0000013 - AVG anti-rootkit".)
    following up on their investigations ... do you have a pen drive or some other similar drive installed on your PC?

  • Illustr 10 - ERROR MESSAGE "Exception Processing Message"

    XP SP3, 8GB RAM, lots of storage
    Went back to open previous projects and got this message:
    "Windows - No Disk
    Exception Processing Message
    c0000013 Parameters 75b6bf9c 4 75b6bf9c 75b6bf9c"
    Message keeps popping back up. Only happens on certain files. ???
    Never had this problem before, I'm pulling my hair out.
    I did full system fatal restore this morning, ran virus check, reinstalled all Adobe, the whole bit. Opened up the same files ... after all that, same problem.

    Yes, I was on that thread the other day ... it seems like there isn't one definitive answer to this (Google provides many different answers). As I have multiple hard drives and the file was originally designed on an external hard drive "book", you might be pointing me the right direction. Thanks for the suggestion.

  • Exception Processing message

    When I try to Run Project I get the following error message:  Exception Proessing Message 0xc0000013 Parameters 0x000007FEFD967240 0x0000000000000004 0x000007FEFD967240 0x000007FEFD967240 No Disk.
    what I have done with Flash Catalyst:  Opened a new project, drag over a text field, change text inside it to "Enter Zip Code".  Drag out a Button, change text to "Submit"; select both items, Modify>Left.  Then go to File> Run Project with the previously detailed error message.
    OS Vista Ultimate
    8gigs of Ram
    Quad Core Intel Processor

    This sounds like one of the following issues:
    http://kb2.adobe.com/cps/404/kb404409.html
    http://kb2.adobe.com/cps/403/kb403140.html
    Although these TechNotes are written about Flex Builder 3, they also apply to Flash Catalyst (as well as other Windows apps -- just Google for "no disk Exception" or check out http://www.consumingexperience.com/2007/11/windows-no-disk-exception-processing.html to see more tales of woe).
    Hope that helps,
    - Peter

  • Exception processing message on K230

    I just got an IdeaCentre K230 (running Vista) and transferred my files from my old computer to the new one using LapLink.  Now the new computer has been crashing, and I keep getting the following message:
    Windows--no disk
    Exception Processing Message
    0xc000013 Parameters 0x00007FEFD577240, 0x000000000000004,    
    0x00007FEFD577240
    How can I fix this and, hopefully, stop the crashes?  Thanks.

    Go through these two links 
    http://social.answers.microsoft.com/Forums/en-US/vistarepair/thread/b40b36b8-6983-4844-9519-05c58411...
    http://social.answers.microsoft.com/Forums/en-US/vistaperformance/thread/aec213ac-accd-4347-9b76-853...
    Can you open your computer in the safe mode?
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • Exception Processing Message - Help

    Hello, I have Quicktime 6.5.1, I just checked. I tried to get 7.o once but it was not successful I guess. OK here is my problem when I click on a video to open it up I get this message ''Exception Processing Message c0000013 Parameters 75b6bf9c 4 75b6bf9c 75b6bf9c'' in the bar it says ''Windows - No Disk'' I cick cancel & its up again so I click cancel about a million times & the video Pops up, so I click cancel a million more times & the error message finally goes away & the video plays fine. How can I fix this?
    I appreciate any help!
    Also I was having trouble with some videos not working saying the had an input/output error but that was somehow connected with the fact that I needed to take ownership of my files because I was getting ''access denied'' on lots of my photos but that is now fixed.

    For the "No Disk" with QT 6, if I can remember correctly. In C:\Documents and Settings I think it is a QuickTime qtr file. Right click on it, go to properties. At the bottom of the window that comes up, under Attributes: you need to check or uncheck Read-only, I forget, but its one or the other

  • Exception processing message 0xc0000013 after updating itunes and Quicktime

    After updating itunes and Quicktime, every time I remove a CD from my DVD drives I get an error saying no disk exception processing message 0xc0000013 Parameters 0x759f023c 0x87f51934 0x759f023c 0x759f023c.
    I tried doing a restore to a time before that update and that didn't seem to help. It just gave me different parameters.
    I'm using Windows Vista and this is driving me nuts.
    Any help would be greatly appreciated.

    I also have the same problems as you guys after installing Corel Painshop Pro X12. I went into the task list and stop the CorelIOMonitor process and then the problem went away. I found out that you can disable this from starting up using System Configuration tool via Start -> Run -> msconfig
    . It's an interm solution untell they fix it. Maybe someone needs to notify Corel or Apple to fix this problem.

Maybe you are looking for

  • How do I disable linked smart-object auto-update/refresh?

    Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 g

  • Calendar freezing/beachballing in 10.8.4

    I upgraded to 10.8.4 recently.  Before this latest update I've experienced a common problem with Apple's Calendar not playing nicely with Exchange's calendar.  Fortunately the upgrade to 10.8.4 seems to have fixed that issue for me.  But now I have a

  • FMLE and windows 7

    fmle is compatible for windows 7? because  I have  windows 7 and my fmle no broadcast the audio to the movie in windows vista  de run better

  • Mac mini with a minimate?

    Does anyone here using a MiniMate for their mini?? how is it? can i be able to install the OS and boot from the minimate using firewire? because my internal drive in the mini is dead thanks

  • Risk Analysis not highlighting SODs for critical transactions

    Hi, I am currently experiencing a problem when running risk analysis for critical transactions. SOD conflicts are not always being detected for critical transactions. This is happening both in role expert while creating a role and during role simulat