Minor fixes
git-svn-id: http://php-reader.googlecode.com/svn/trunk@101 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user