Exception to throw when validation failed
__construct(string $message, int $code, \Exception $previous, \Fieldset $fieldset)
stringthe error message
intthe error code
\Fieldsetthe fieldset on which this exception was triggered
get_fieldset() : \Orm\Fieldset
\Orm\Fieldset$fieldset : \Orm\Fieldset