From 7b49888da521d113dc5a45cb8429efcf245c03cf Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 24 Feb 2006 01:13:12 +0000 Subject: Fixed a few minor issues about the newly added ReadOnly property. --- framework/Collections/TList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Collections/TList.php') diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index 5f4534ca..6dd2561b 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -152,7 +152,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess throw new TInvalidDataValueException('list_index_invalid',$index); } else - throw new TInvalidOperation('list_readonly'); + throw new TInvalidOperation('list_readonly',get_class($this)); } /** @@ -201,7 +201,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess throw new TInvalidDataValueException('list_index_invalid',$index); } else - throw new TInvalidOperation('list_readonly'); + throw new TInvalidOperation('list_readonly',get_class($this)); } /** -- cgit v1.2.3