replace Exception on GeneralException, InitializationException
This commit is contained in:
@ -27,7 +27,7 @@ class EqualValidator extends Validator
|
||||
{
|
||||
$this->setValue($value);
|
||||
if ($this->token === null) {
|
||||
throw new Exception('Token not defined.');
|
||||
throw new InitializationException('Token not defined.');
|
||||
}
|
||||
|
||||
if ($value !== $this->token) {
|
||||
|
Reference in New Issue
Block a user