summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TBaseValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TBaseValidator.php')
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php
index 46f031ca..03362110 100644
--- a/framework/Web/UI/WebControls/TBaseValidator.php
+++ b/framework/Web/UI/WebControls/TBaseValidator.php
@@ -370,7 +370,7 @@ abstract class TBaseValidator extends TLabel implements IValidator
if(($id=$this->getControlToValidate())!=='' && ($control=$this->findControl($id))!==null)
return $control;
else
- throw new TConfigurationException('basevalidator_controltovalidate_invalid');
+ throw new TConfigurationException('basevalidator_controltovalidate_invalid',get_class($this));
}
/**
@@ -384,7 +384,7 @@ abstract class TBaseValidator extends TLabel implements IValidator
if($control instanceof IValidatable)
return $control->getValidationPropertyValue();
else
- throw new TInvalidDataTypeException('basevalidator_validatable_required');
+ throw new TInvalidDataTypeException('basevalidator_validatable_required',get_class($this));
}
/**