zoukankan      html  css  js  c++  java
  • .NET常用异常

    Exception 类

    描述

    SystemException 其他用户可处理的异常的基本类
    ArgumentException 方法的参数是非法的
    ArgumentNullException 一个空参数传递给方法,该方法不能接受该参数
    ArgumentOutOfRangeException 参数值超出范围
    ArithmeticException 出现算术上溢或者下溢
    ArrayTypeMismatchException 试图在数组中存储错误类型的对象
    BadImageFormatException 图形的格式错误
    DivideByZeroException 除零异常
    DllNotFoundException 找不到引用的DLL
    FormatException 参数格式错误
    IndexOutOfRangeException 数组索引超出范围
    InvalidCastException 使用无效的类
    InvalidOperationException 方法的调用时间错误
    MethodAccessException 试图访问思友或者受保护的方法
    MissingMemberException 访问一个无效版本的DLL
    NotFiniteNumberException 对象不是一个有效的成员
    NotSupportedException 调用的方法在类中没有实现
    NullReferenceException 试图使用一个未分配的引用
    OutOfMemoryException 内存空间不够
    PlatformNotSupportedException 平台不支持某个特定属性时抛出该错误
    StackOverflowException 堆栈溢出
  • 相关阅读:
    StateListDrawable状态选择器
    Shape
    每周随笔
    每周随笔
    每周随笔
    每周随笔
    每周随笔
    每周随笔
    每周随笔

  • 原文地址:https://www.cnblogs.com/tommyli/p/1159409.html
Copyright © 2011-2022 走看看