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\Validator\Exception;
14 class MissingOptionsException extends ValidatorException
18 public function __construct($message, array $options)
20 parent::__construct($message);
22 $this->options = $options;
25 public function getOptions()
27 return $this->options;