4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Intl\Exception
;
14 use Symfony\Component\Intl\Exception\NotImplementedException
;
17 * @author Eriksen Costa <eriksen.costa@infranology.com.br>
19 class MethodArgumentValueNotImplementedException
extends NotImplementedException
24 * @param string $methodName The method name that raised the exception
25 * @param string $argName The argument name
26 * @param string $argValue The argument value that is not implemented
27 * @param string $additionalMessage An optional additional message to append to the exception message
29 public function __construct($methodName, $argName, $argValue, $additionalMessage = '')
32 'The %s() method\'s argument $%s value %s behavior is not implemented.%s',
35 var_export($argValue, true),
36 $additionalMessage !== '' ? ' '.$additionalMessage.'. ' : ''
39 parent
::__construct($message);