summaryrefslogtreecommitdiff
path: root/framework/Collections/TList.php
diff options
context:
space:
mode:
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 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));
}
/**