summaryrefslogtreecommitdiff
path: root/framework/Collections/TMap.php
diff options
context:
space:
mode:
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 df580534..85da4f3c 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -128,7 +128,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess
if(!$this->_r)
$this->_d[$key]=$value;
else
- throw new TInvalidOperation('map_readonly');
+ throw new TInvalidOperation('map_readonly',get_class($this));
}
/**
@@ -151,7 +151,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess
return null;
}
else
- throw new TInvalidOperation('map_readonly');
+ throw new TInvalidOperation('map_readonly',get_class($this));
}
/**