Skip to content

Commit

Permalink
GeometryException is now abstract
Browse files Browse the repository at this point in the history
This ensures that only fine-grained exceptions are thrown throughout the code.
  • Loading branch information
BenMorel committed May 10, 2015
1 parent cf8ba09 commit 805fdd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Exception/GeometryException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

/**
* Base class for all geometry exceptions.
*
* This class is abstract to ensure that only fine-grained exceptions are thrown throughout the code.
*/
class GeometryException extends \Exception
abstract class GeometryException extends \Exception
{
}

0 comments on commit 805fdd1

Please sign in to comment.