public function validateName($name, $definedClass)
    {
        if ($name != camel_case($name)) {
            throw new Exception('Name "'.$name.'" (defined in class "'.$definedClass.'") is not a camel case name.');
        }

        return true;
    }