summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TListControl.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index 793b266a..3c1cd547 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -404,7 +404,7 @@ abstract class TListControl extends TDataBoundControl
if($index>=0 && $index<$this->_items->getCount())
$this->_items->itemAt($index)->setSelected(true);
else if($index!==-1)
- throw new TInvalidDataValueException('listcontrol_selectedindex_invalid',$index);
+ throw new TInvalidDataValueException('listcontrol_selectedindex_invalid',get_class($this),$index);
}
$this->_cachedSelectedIndex=$index;
}
@@ -480,7 +480,7 @@ abstract class TListControl extends TDataBoundControl
$item->setSelected(true);
}
else
- throw new TInvalidDataValueException('listcontrol_selectedvalue_invalid',$value);
+ throw new TInvalidDataValueException('listcontrol_selectedvalue_invalid',get_class($this),$value);
}
$this->_cachedSelectedValue=$value;
}
@@ -609,7 +609,7 @@ class TListItemCollection extends TList
else if($item instanceof TListItem)
parent::insertAt($index,$item);
else
- throw new TInvalidDataTypeException('listitemcollection_item_invalid');
+ throw new TInvalidDataTypeException('listitemcollection_item_invalid',get_class($this));
}
/**