diff --git a/src/Exception/Exception.php b/src/Exception/Exception.php index 49d69196..6cd77b79 100644 --- a/src/Exception/Exception.php +++ b/src/Exception/Exception.php @@ -14,6 +14,12 @@ use Exception as BaseException; +@trigger_error( + 'The '.__NAMESPACE__.'Exception is deprecated since 1.x '. + 'and will be removed with the 2.0 release.', + E_USER_DEPRECATED +); + /** * @author GeLo */