diff --git a/src/Exception/Exception.php b/src/Exception/Exception.php index bf6158423..19bc6fb74 100644 --- a/src/Exception/Exception.php +++ b/src/Exception/Exception.php @@ -2,6 +2,6 @@ namespace MongoDB\Exception; -interface Exception +interface Exception extends \MongoDB\Driver\Exception\Exception { } diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index a8fdd2e21..e082d5772 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -2,6 +2,6 @@ namespace MongoDB\Exception; -class InvalidArgumentException extends \InvalidArgumentException implements Exception +class InvalidArgumentException extends \MongoDB\Driver\Exception\InvalidArgumentException implements Exception { } diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index d2ec0c596..ac2706db3 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -2,6 +2,6 @@ namespace MongoDB\Exception; -class RuntimeException extends \RuntimeException implements Exception +class RuntimeException extends \MongoDB\Driver\Exception\RuntimeException implements Exception { } diff --git a/src/Exception/UnexpectedValueException.php b/src/Exception/UnexpectedValueException.php index 18abd91cb..05b52030e 100644 --- a/src/Exception/UnexpectedValueException.php +++ b/src/Exception/UnexpectedValueException.php @@ -2,6 +2,6 @@ namespace MongoDB\Exception; -class UnexpectedValueException extends \UnexpectedValueException implements Exception +class UnexpectedValueException extends \MongoDB\Driver\Exception\UnexpectedValueException implements Exception { }