Commit c4f1c899 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-83: Extend driver exceptions

parent dd1a781e
......@@ -2,6 +2,6 @@
namespace MongoDB\Exception;
interface Exception
interface Exception extends \MongoDB\Driver\Exception\Exception
{
}
......@@ -2,6 +2,6 @@
namespace MongoDB\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements Exception
class InvalidArgumentException extends \MongoDB\Driver\Exception\InvalidArgumentException implements Exception
{
}
......@@ -2,6 +2,6 @@
namespace MongoDB\Exception;
class RuntimeException extends \RuntimeException implements Exception
class RuntimeException extends \MongoDB\Driver\Exception\RuntimeException implements Exception
{
}
......@@ -2,6 +2,6 @@
namespace MongoDB\Exception;
class UnexpectedValueException extends \UnexpectedValueException implements Exception
class UnexpectedValueException extends \MongoDB\Driver\Exception\UnexpectedValueException implements Exception
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment