Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6160495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:18:47+00:00 2026-05-23T21:18:47+00:00

Does anyone know of a list of .Net Exception types .e.g. ArgumentNullException and under

  • 0

Does anyone know of a list of .Net Exception types .e.g. ArgumentNullException and under what circumstances you should use them? At the moment I’m just guessing based on the type name but I would rather get it right.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:18:49+00:00Added an answer on May 23, 2026 at 9:18 pm

    A list of them:

    http://mikevallotton.wordpress.com/2009/07/08/net-exceptions-all-of-them/

    As for the circumstance, it depends, most of the time they make sense based on their name and arguments. ArgumentNullException, for example, is usually used when checking method / constructor arguments for null values.

    Then you have others such as FileNotFoundException, NullReferenceException, InvalidOperationException, as you can see they read very easily and should be used with common sense.

    Update 1: as someone has suggested, they are also on MSDN:

    http://msdn.microsoft.com/en-us/library/system.exception.aspx#inheritanceContinued

    Here are views on common exceptions available:

    https://blogs.msmvps.com/jgaylord/2009/07/08/common-and-all-system-exceptions-in-net/

    http://www.developerfusion.com/article/1889/exception-handling-in-c/3/

    Update 2: as for usage, Microsoft has guidelines for reserved exception types:

    http://msdn.microsoft.com/en-us/library/ms182338.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how to copy a VB.Net list of structures to an Excel
Does anyone know how to sort a list of struct with different types (sample
Does anyone know of a List implementation that has a constant time get(int index)
Does anyone know of a Webmail Contact List Importer scripts (ColdFusion, PHP etc) like
Does anyone know how to get the list of items and check/uncheck items in
Does anyone know of an exhaustive list of when the savedInstanceState bundle will be
Does anyone know how to add an item to a list but do it
Does anyone know where I can go to get a list of the new
does anyone know where i can get the official list of all AT COMMANDS
Does anyone know how or where I can find a list of properties that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.