<?php namespace Intellex\Curly\Content\Exception;

/**
 * Indicates that the initialized content type handler does not implement TypeHandlerInterface.
 */
class InvalidContentTypeHandlerException extends \Exception {

	/**
	 * Initialize the exception.
	 *
	 * @param	string	$name	The name of the invalid handler.
	 */
	public function __construct($name) {
		parent::__construct("The class `{$name}` must implement TypeHandlerInterface.");
	}

}
