Minor fixes

git-svn-id: http://php-reader.googlecode.com/svn/trunk@101 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2008-05-13 20:28:13 +00:00
parent fc3f1c43f2
commit 95345494fb
4 changed files with 34 additions and 5 deletions

View File

@@ -123,7 +123,7 @@ abstract class ID3_Object
{
if (method_exists($this, "get" . ucfirst($name)))
return call_user_func(array($this, "get" . ucfirst($name)));
else throw new Reader_Exception("Unknown field: " . $name);
else throw new ID3_Exception("Unknown field: " . $name);
}
/**
@@ -138,7 +138,7 @@ abstract class ID3_Object
if (method_exists($this, "set" . ucfirst($name)))
call_user_func
(array($this, "set" . ucfirst($name)), $value);
else throw new Reader_Exception("Unknown field: " . $name);
else throw new ID3_Exception("Unknown field: " . $name);
}
/**