1.2.937. PHP Exception

Mark an exception as a native exception. They may come from PHP standard distribution or an extension.

<?php

// From the native set
$a = new LogicException('Logic error');
throw $a;

// From an extension
throw new ZookeeperException('Zookeeper error');

?>

See also Exceptions.

1.2.937.1. Specs

Short name

Exceptions/IsPhpException

Rulesets

All, Changed Behavior

Exakat since

1.5.2

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Features

exception

Available in

Entreprise Edition, Exakat Cloud