public function setName($name)
    {
        if (empty((string) $name)) {
            throw new ConfigurationException(
                'The configuration must specify a non-empty name for the Tool Provider.',
                ConfigurationException::TOOL_PROVIDER
            );
        } else {
            $this->name = (string) $name;
        }
    }