diff options
author | xue <> | 2005-12-05 01:38:36 +0000 |
---|---|---|
committer | xue <> | 2005-12-05 01:38:36 +0000 |
commit | f2cb7a3cf82f4788e4e96bd42fa617d6ea8e0fb0 (patch) | |
tree | 621a2a002a351a1b74ff7e960b9d95183b70d11a /framework | |
parent | adada7856a7b25a602d4af680ec2dad01ee0972f (diff) |
Diffstat (limited to 'framework')
-rw-r--r-- | framework/core.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/core.php b/framework/core.php index 84077a04..794384b4 100644 --- a/framework/core.php +++ b/framework/core.php @@ -468,7 +468,7 @@ class PradoBase {
include_once($type.self::CLASS_FILE_EXT);
if(!class_exists($type,false))
- throw new TInvalidDataValueException('prado_component_unknown',$type);
+ throw new TInvalidOperationException('prado_component_unknown',$type);
}
else
{
@@ -477,7 +477,7 @@ class PradoBase {
include_once($path.self::CLASS_FILE_EXT);
if(!class_exists($className,false))
- throw new TInvalidDataValueException('prado_component_unknown',$type);
+ throw new TInvalidOperationException('prado_component_unknown',$type);
}
$type=$className;
}
|