1.2.724. Multiple Catch¶
Indicates if a try structure have several catch statement.
<?php
// This try has several catch
try {
doSomething();
} catch (RuntimeException $e) {
processRuntimeException();
} catch (OtherException $e) {
processOtherException();
}
?>
1.2.724.1. Specs¶
Short name |
Structures/MultipleCatch |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
High |
Features |
try |
Available in |