Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from zerocrates/interop-exceptions
Browse files Browse the repository at this point in the history
Use container-interop exception interfaces
  • Loading branch information
weierophinney committed Jan 11, 2016
2 parents 2a684f2 + 975be46 commit 6bb01f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

namespace Zend\ServiceManager\Exception;

interface ExceptionInterface
use Interop\Container\Exception\ContainerException;

interface ExceptionInterface extends ContainerException
{
}
5 changes: 4 additions & 1 deletion src/Exception/ServiceNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace Zend\ServiceManager\Exception;

class ServiceNotFoundException extends InvalidArgumentException
use Interop\Container\Exception\NotFoundException;

class ServiceNotFoundException extends InvalidArgumentException implements
NotFoundException
{
}

0 comments on commit 6bb01f7

Please sign in to comment.