Homec4science

Add PhutilProxyException to permit nested exceptions prior to PHP 5.3

Authored by epriestley <git@epriestley.com> on Dec 17 2012, 21:53.

Description

Add PhutilProxyException to permit nested exceptions prior to PHP 5.3

Summary:

  • Prior to PHP 5.3, exceptions aren't nestable.
  • Fake it.

Test Plan: Ran unit tests. Threw a proxy exception, verified sensible console output.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2193

Differential Revision: https://secure.phabricator.com/D4208

Details

Committed
epriestley <git@epriestley.com>Dec 17 2012, 21:53
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU4613efb331d1: Allow message types to be disabled in PhutilConsole
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUada80c2e72b4: Add PhutilProxyException to permit nested exceptions prior to PHP 5.3 (authored by epriestley <git@epriestley.com>).Dec 17 2012, 21:53