From 9cc6b7fffd31f4b9ee9aceef9224c84dcf28aeb8 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 4 Jul 2006 23:25:41 +0000 Subject: Merge from 3.0 branch till 1239. --- 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 5b27a02e..015781cb 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',get_class($this)); + throw new TInvalidOperationException('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',get_class($this)); + throw new TInvalidOperationException('list_readonly',get_class($this)); } /** -- cgit v1.2.3