diff options
author | xue <> | 2006-07-04 23:25:41 +0000 |
---|---|---|
committer | xue <> | 2006-07-04 23:25:41 +0000 |
commit | 9cc6b7fffd31f4b9ee9aceef9224c84dcf28aeb8 (patch) | |
tree | d3d6d907278b06feef3fc77c14d2231cfbff1125 /framework/Collections/TList.php | |
parent | 2cf86eb80ae66da86eb2e37f0f99b2035241d3ae (diff) |
Merge from 3.0 branch till 1239.
Diffstat (limited to 'framework/Collections/TList.php')
-rw-r--r-- | framework/Collections/TList.php | 4 |
1 files changed, 2 insertions, 2 deletions
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));
}
/**
|