1: <?php
2: /**
3: * LeadCommerce\Shopware\SDK\Exception
4: *
5: * Copyright 2016 LeadCommerce
6: *
7: * @author Alexander Mahrt <amahrt@leadcommerce.de>
8: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
9: */
10: namespace LeadCommerce\Shopware\SDK\Exception;
11:
12: /**
13: * Class MethodNotAllowedException
14: *
15: * @author Alexander Mahrt <amahrt@leadcommerce.de>
16: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
17: */
18: class MethodNotAllowedException extends \Exception
19: {
20: /**
21: * MethodNotAllowedException constructor.
22: *
23: * @param string $message
24: * @param int $code
25: * @param \Exception $previous
26: */
27: public function __construct($message = 'Method is not allowed.', $code = 0, \Exception $previous = null)
28: {
29: parent::__construct($message, $code, $previous);
30: }
31: }
32: