From 47ef532b8fca6e9b8935c97aaae3253672b8455e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 16 Dec 2005 15:26:03 +0000 Subject: Fixed name of TConfigurationException. --- framework/Web/UI/TPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index 8d2c9686..e01cb7f5 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -677,12 +677,12 @@ class TPage extends TTemplateControl /** * Ensures the control is rendered within a form. * @param TControl the control to be rendered - * @throws TInvalidConfigurationException if the control is outside of the form + * @throws TConfigurationException if the control is outside of the form */ public function ensureRenderInForm($control) { if(!$this->_inFormRender) - throw new TInvalidConfigurationException('page_control_outofform',get_class($control),$control->getID(false)); + throw new TConfigurationException('page_control_outofform',get_class($control),$control->getID(false)); } /** @@ -691,7 +691,7 @@ class TPage extends TTemplateControl public function beginFormRender($writer) { if($this->_formRendered) - throw new TInvalidConfigurationException('page_singleform_required'); + throw new TConfigurationException('page_singleform_required'); $this->_formRendered=true; $this->_inFormRender=true; $cs=$this->getClientScript(); -- cgit v1.2.3