Permalink
Browse files

The exceptions should extend a common library exception, to make it

easier to catch all the library's exceptions
  • Loading branch information...
1 parent 6906433 commit 034671c4b719b0c85034f8a494a27c8db4e37d24 @triplepoint committed Nov 3, 2012
@@ -7,7 +7,7 @@
* exists, but the requested method is not allowed.
* It will usually provide a set of allowed methods.
*/
-class ExceptionMethodNotAllowed extends \Exception
+class ExceptionMethodNotAllowed extends Exception
{
/**
* The methods that would be allowed
@@ -6,6 +6,6 @@
* This exception represents the error condition where
* a requested route is not found.
*/
-class ExceptionNotFound extends \Exception
+class ExceptionNotFound extends Exception
{
}

0 comments on commit 034671c

Please sign in to comment.