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

Use container-interop exception interfaces #46

Merged
merged 1 commit into from
Jan 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
{
}