HomePhabricator

Add a `PhutilMethodNotImplementedException` class

Description

Add a PhutilMethodNotImplementedException class

Summary: I think that "Not implemented" is common enough to warrant a dedicated exception class.

Test Plan:

[2014-07-21 14:33:42] EXCEPTION: (PhutilMethodNotImplementedException) Method testMethod in class TestClass is not implemented! at [<phutil>/test.php:7]
  #0 TestClass::testMethod() called at [<phutil>/test.php:11]

[2014-07-21 14:33:14] EXCEPTION: (PhutilMethodNotImplementedException) Function foo is not implemented! at [<phutil>/test.php:13]
  #0 foo() called at [<phutil>/test.php:15]

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jul 21 2014, 3:35 PM
Reviewer
Blessed Reviewers
Differential Revision
D9992: Add a `PhutilMethodNotImplementedException` class
Parents
rPHU5a0514754c17: Rename `PhutilBufferedIteratorExample` to `PhutilExampleBufferedIterator`
Branches
Unknown
Tags
Unknown

Event Timeline