zoukankan      html  css  js  c++  java
  • 系统异常 NSException.h

    FOUNDATION_EXPORT NSExceptionName const NSGenericException;

    FOUNDATION_EXPORT NSExceptionName const NSRangeException;

    FOUNDATION_EXPORT NSExceptionName const NSInvalidArgumentException;

    FOUNDATION_EXPORT NSExceptionName const NSInternalInconsistencyException;

    FOUNDATION_EXPORT NSExceptionName const NSMallocException;

    FOUNDATION_EXPORT NSExceptionName const NSObjectInaccessibleException;

    FOUNDATION_EXPORT NSExceptionName const NSObjectNotAvailableException;

    FOUNDATION_EXPORT NSExceptionName const NSDestinationInvalidException;

        

    FOUNDATION_EXPORT NSExceptionName const NSPortTimeoutException;

    FOUNDATION_EXPORT NSExceptionName const NSInvalidSendPortException;

    FOUNDATION_EXPORT NSExceptionName const NSInvalidReceivePortException;

    FOUNDATION_EXPORT NSExceptionName const NSPortSendException;

    FOUNDATION_EXPORT NSExceptionName const NSPortReceiveException;

    FOUNDATION_EXPORT NSExceptionName const NSOldStyleException;

    @try{

            NSArray *tp = @[@"aaa"];

            

            [tp objectAtIndex:1];

        }

        @catch(NSException *exception){

            

            NSLog(@"eeee");

            

        }

  • 相关阅读:
    C#获取动态代码的值
    C#winform圆角窗体绘制
    linux下安装jdk&&Tomcat环境
    一些linux基础命令
    linux下安装python3
    迭代器和生成器
    内置函数
    PythonTwo
    yum对于包和软件的安装、升级和卸载总结
    Python基础
  • 原文地址:https://www.cnblogs.com/feng9exe/p/9401309.html
Copyright © 2011-2022 走看看