Skip to content

Commit

Permalink
at the risk of being tarred and feathered, make PEAR2_Exception an ab…
Browse files Browse the repository at this point in the history
…stract class...
  • Loading branch information
cellog committed Oct 7, 2007
1 parent 99820a7 commit aa9ce17
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ Exception class, PEAR2_Exception also supports passing a
cause of an exception, which can be another exception object
or a PEAR2_MultiErrors object. The error messages of the causes
are used when constructing the error message displayed when
converting PEAR2_Exception to a string.
converting PEAR2_Exception to a string.

PEAR2_Exception should always be extended by your own custom exception
class for the package.
5 changes: 4 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ Exception class, PEAR2_Exception also supports passing a
cause of an exception, which can be another exception object
or a PEAR2_MultiErrors object. The error messages of the causes
are used when constructing the error message displayed when
converting PEAR2_Exception to a string.</description>
converting PEAR2_Exception to a string.

PEAR2_Exception should always be extended by your own custom exception
class for the package.</description>
<lead>
<name>Gregory Beaver</name>
<user>cellog</user>
Expand Down
2 changes: 1 addition & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
* @since Class available since Release 0.1.0
*
*/
class PEAR2_Exception extends Exception
abstract class PEAR2_Exception extends Exception
{
public static $htmlError = false;
const OBSERVER_PRINT = -2;
Expand Down

0 comments on commit aa9ce17

Please sign in to comment.