Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Validator\Exception; Chris@0: Chris@0: class InvalidOptionsException extends ValidatorException Chris@0: { Chris@0: private $options; Chris@0: Chris@0: public function __construct($message, array $options) Chris@0: { Chris@0: parent::__construct($message); Chris@0: Chris@0: $this->options = $options; Chris@0: } Chris@0: Chris@0: public function getOptions() Chris@0: { Chris@0: return $this->options; Chris@0: } Chris@0: }