1.2.1201. Thrown Exceptions

This rules reports the usage of the throw keyword. This means all these exceptions are raised at some point in the code.

<?php

throw new MyException("An error happened");

?>

See also Exceptions.

1.2.1201.1. Connex PHP features

1.2.1201.1.1. Specs

Short name

Exceptions/ThrownExceptions

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud