编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SeekableIterator::seek
  • BadFunctionCallException »
  • PHP Manual
  • SPL
  • 异常

异常

Table of Contents

  • BadFunctionCallException
  • BadMethodCallException
  • DomainException
  • InvalidArgumentException
  • LengthException
  • LogicException
  • OutOfBoundsException
  • OutOfRangeException
  • OverflowException
  • RangeException
  • RuntimeException
  • UnderflowException
  • UnexpectedValueException

SPL 提供一系列标准异常。

可参考预定义异常。

SPL Exceptions Class Tree

  • LogicException (extends Exception)
    • BadFunctionCallException
      • BadMethodCallException
    • DomainException
    • InvalidArgumentException
    • LengthException
    • OutOfRangeException
  • RuntimeException (extends Exception)
    • OutOfBoundsException
    • OverflowException
    • RangeException
    • UnderflowException
    • UnexpectedValueException
相关文章
php 异常 the domainexception classphp 预定义异常 exceptionphp 异常 the invalidargumentexception classphp 异常 the lengthexception classphp 异常 the logicexception classphp 异常 the rangeexception classphp 异常 the runtimeexception classphp spl types the splfloat classphp spl types the splint classphp 异常 the underflowexception classphp 异常 the unexpectedvalueexception classphp errorexception 构造一个异常(exception)php exception 异常克隆php spl spl 函数php spl 预定义常量php spl 数据结构php spl 异常php spl 文件处理php spl 接口php yaf dispatcher 开启/关闭自动异常捕获功能
关注编程学问公众号
编程学问网 湘ICP备20001732号