summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorknut <>2006-07-03 09:03:57 +0000
committerknut <>2006-07-03 09:03:57 +0000
commit38cc7a09ab2feca2172bc4fddf6c406a9285c55f (patch)
treeb3a3d53725e493694aca0d55f919aaa34df0ccd7 /framework
parent674353eec4d0a2ee006302720bf6df07ae3e9852 (diff)
Resolved typo #264
Diffstat (limited to 'framework')
-rw-r--r--framework/Collections/TList.php4
-rw-r--r--framework/Collections/TMap.php4
-rw-r--r--framework/Web/UI/WebControls/TFileUpload.php2
3 files changed, 5 insertions, 5 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));
}
/**
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));
}
/**
diff --git a/framework/Web/UI/WebControls/TFileUpload.php b/framework/Web/UI/WebControls/TFileUpload.php
index 37689746..62c51ccf 100644
--- a/framework/Web/UI/WebControls/TFileUpload.php
+++ b/framework/Web/UI/WebControls/TFileUpload.php
@@ -189,7 +189,7 @@ class TFileUpload extends TWebControl implements IPostBackDataHandler, IValidata
throw new TInvalidOperationException('fileupload_saveas_failed');
}
else
- throw new TInvalidOperation('fileupload_saveas_forbidden');
+ throw new TInvalidOperationException('fileupload_saveas_forbidden');
}
/**