C # pre-defined exception list

Source: Internet
Author: User

It is a good habit to capture specified exceptions during programming, but it is hard to remember so many exception names, which are listed here for reference.

System...:. Object
System...:. Exception
System...:. systemexception
System...:. accessviolationexception
System...:. appdomainunloadedexception
System...:. argumentexception
System...:. arithmeticexception
System...:. arraytypemismatchexception
System...:. badimageformatexception
System...:. cannotunloadappdomainexception
System. Collections. Generic...:. keynotfoundexception
System...:. datamisalignedexception
System...:. executionengineexception
System...:. formatexception
System...:. indexoutofrangeexception
System...:. invalidcastexception
System...:. invalidoperationexception
System...:. invalidprogramexception
System. Io...:. ioexception
System...:. memberaccessexception
System...:. multicastnotsupportedexception
System...:. notimplementedexception
System...:. notsupportedexception
System...:. nullreferenceexception
System...:. outofmemoryexception
System...:. rankexception
System. reflection...:. ambiguousmatchexception
System. reflection...:. reflectiontypeloadexception
System. Resources...:. missingmanifestresourceexception
System. runtime. interopservices...:. externalexception
System. runtime. interopservices...:. marshaldirectiveexception
System. runtime. serialization...:. serializationexception
System. Security. cryptography...:. cryptographicexception
System. Security...:. securityexception
System. Security...:. verificationexception
System. servicemodel...:. communicationexception
System. servicemodel...:. invalidmessagecontractexception
System. servicemodel...:. quotaexceededexception
System...:. stackoverflowexception
System. Threading...:. synchronizationlockexception
System. Threading...:. threadabortexception
System. Threading...:. threadstartexception
System. Threading...:. threadstateexception
System...:. timeoutexception
System...:. typeinitializationexception
System...:. typeloadexception
System...:. unauthorizedaccessexception
System. Windows. markup...:. xamlparseexception
System. xml...:. xmlexception

 

The format is messy.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.