private function checkMethodExists($className, $methodName)
    {
        if (!$this->isMethodAvailable($className, $methodName)) {
            throw new Exception(Piwik::translate('General_ExceptionMethodNotFound', array($methodName, $className)));
        }
    }
private function checkMethodExists($className, $methodName)
    {
        if (!$this->isMethodAvailable($className, $methodName)) {
            throw new Exception(Piwik::translate('General_ExceptionMethodNotFound', array($methodName, $className)));
        }
    }
private function checkMethodExists ( $ className , $ methodName ) { if ( ! $ this -> isMethodAvailable ( $ className , $ methodName ) ) { throw new Exception ( Piwik :: translate ( 'General_ExceptionMethodNotFound' , array ( $ methodName , $ className ) ) ) ; } }
Checks that the method exists in the class

@param string $className The class name
@param string $methodName The method name
@throws Exception If the method is not found
Checks that the method exists in the class