summaryrefslogtreecommitdiff
path: root/framework/Collections/TMap.php
diff options
context:
space:
mode:
authorxue <>2006-07-04 23:25:41 +0000
committerxue <>2006-07-04 23:25:41 +0000
commit9cc6b7fffd31f4b9ee9aceef9224c84dcf28aeb8 (patch)
treed3d6d907278b06feef3fc77c14d2231cfbff1125 /framework/Collections/TMap.php
parent2cf86eb80ae66da86eb2e37f0f99b2035241d3ae (diff)
Merge from 3.0 branch till 1239.
Diffstat (limited to 'framework/Collections/TMap.php')
-rw-r--r--framework/Collections/TMap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index 28508e1d..e3a26e5f 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -123,7 +123,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess
if(!$this->_r)
$this->_d[$key]=$value;
else
- throw new TInvalidOperation('map_readonly',get_class($this));
+ throw new TInvalidOperationException('map_readonly',get_class($this));
}
/**
@@ -146,7 +146,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess
return null;
}
else
- throw new TInvalidOperation('map_readonly',get_class($this));
+ throw new TInvalidOperationException('map_readonly',get_class($this));
}
/**