From 98f3365e330c336176943f72c0b31c8b9115655d Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 29 Jul 2013 10:00:05 +0200 Subject: [PATCH] create exception for action part --- .../Action/Exception/ActionException.php | 29 +++++++++++++++++++ .../Exception/ProductNotFoundException.php | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 core/lib/Thelia/Action/Exception/ActionException.php create mode 100644 core/lib/Thelia/Action/Exception/ProductNotFoundException.php diff --git a/core/lib/Thelia/Action/Exception/ActionException.php b/core/lib/Thelia/Action/Exception/ActionException.php new file mode 100644 index 000000000..88213df94 --- /dev/null +++ b/core/lib/Thelia/Action/Exception/ActionException.php @@ -0,0 +1,29 @@ +. */ +/* */ +/*************************************************************************************/ +namespace Thelia\Action\Exception; + + +class ActionException extends \RuntimeException +{ + +} \ No newline at end of file diff --git a/core/lib/Thelia/Action/Exception/ProductNotFoundException.php b/core/lib/Thelia/Action/Exception/ProductNotFoundException.php new file mode 100644 index 000000000..67df9fd6f --- /dev/null +++ b/core/lib/Thelia/Action/Exception/ProductNotFoundException.php @@ -0,0 +1,29 @@ +. */ +/* */ +/*************************************************************************************/ + +namespace Thelia\Action\Exception; + + +class ProductNotFoundException extends ActionException { + +} \ No newline at end of file