异常
- BadFunctionCallException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if a callback refers to an undefined function or if some arguments are missing.类摘要BadFunctionCallExcepti
- BadMethodCallException()
- (PHP 5 >= 5.1.0, PHP 7)简介当一个回调方法是一个未定义的方法或缺失一些参数时会抛出该异常。类摘要BadMethodCallExceptionextendsBadFunctionCallException{/*继承的属性*/protectedstring$message;p
- DomainException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if a value does not adhere to a defined valid data domain.类摘要DomainExceptionextendsLogicException{/*继承的属
- InvalidArgumentException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if an argument is not of the expected type.类摘要InvalidArgumentExceptionextendsLogicException{/*继承的属性*/pro
- LengthException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if a length is invalid.类摘要LengthExceptionextendsLogicException{/*继承的属性*/protectedstring$message;protecte
- LogicException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.类
- OutOfBoundsException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if a value is not a valid key. This represents errors that cannot be detected at compile time.类摘要OutOfBo
- OutOfRangeException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown when an illegal index was requested. This represents errors that should be detected at compile time.类摘要O
- OverflowException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown when adding an element to a full container.类摘要OverflowExceptionextendsRuntimeException{/*继承的属性*/protecte
- RangeException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown to indicate range errors during program execution. Normally this means there was an arithmetic error oth
- RuntimeException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if an error which can only be found on runtime occurs.类摘要RuntimeExceptionextendsException{/*继承的属性*/prote
- UnderflowException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown when performing an invalid operation on an empty container, such as removing an element.类摘要UnderflowExce
- UnexpectedValueException()
- (PHP 5 >= 5.1.0, PHP 7)简介 Exception thrown if a value does not match with a set of values. Typically this happens when a function calls another fun