summaryrefslogtreecommitdiff
path: root/framework/Collections/TList.php
diff options
context:
space:
mode:
authorxue <>2006-02-24 01:13:12 +0000
committerxue <>2006-02-24 01:13:12 +0000
commit7b49888da521d113dc5a45cb8429efcf245c03cf (patch)
tree7c2153c96d3ed21c0f9e2334f48af3b81851ddb9 /framework/Collections/TList.php
parent8a3d7d5dd5149cca2bea77ec31a36700eb990092 (diff)
Fixed a few minor issues about the newly added ReadOnly property.
Diffstat (limited to 'framework/Collections/TList.php')
-rw-r--r--framework/Collections/TList.php4
1 files changed, 2 insertions, 2 deletions
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));
}
/**