]>
Commit | Line | Data |
---|---|---|
4f5b44bd NL |
1 | <?php |
2 | ||
3 | /* | |
4 | * This file is part of the Symfony package. | |
5 | * | |
6 | * (c) Fabien Potencier <fabien@symfony.com> | |
7 | * | |
8 | * For the full copyright and license information, please view the LICENSE | |
9 | * file that was distributed with this source code. | |
10 | */ | |
11 | ||
12 | namespace Symfony\Component\Intl\Exception; | |
13 | ||
14 | use Symfony\Component\Intl\Exception\NotImplementedException; | |
15 | ||
16 | /** | |
17 | * @author Eriksen Costa <eriksen.costa@infranology.com.br> | |
18 | */ | |
19 | class MethodArgumentNotImplementedException extends NotImplementedException | |
20 | { | |
21 | /** | |
22 | * Constructor | |
23 | * | |
24 | * @param string $methodName The method name that raised the exception | |
25 | * @param string $argName The argument name that is not implemented | |
26 | */ | |
27 | public function __construct($methodName, $argName) | |
28 | { | |
29 | $message = sprintf('The %s() method\'s argument $%s behavior is not implemented.', $methodName, $argName); | |
30 | parent::__construct($message); | |
31 | } | |
32 | } |