<?php

/**
 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @package fusionLib
 * @copyright Copyright (c) 2013 fusionLib. All rights reserved.
 * @link http://fusionlib.com
 */

/**
 * flExceptionBadRequest Class
 *
 * 400 bad request exceptions.
 *
 * @package fusionLib
 */
class flExceptionBadRequest extends flException {

	/**
	 * Construct a new exception.
	 */
	function __construct() {
		parent::__construct(__('The request cannot be fulfilled.', 'fusionLib'), 400);
	}

	/**
	 * Get the exception name.
	 *
	 * @return string The human readable exception name.
	 */
	function getName() {
		return __('Bad Request', 'fusionLib');
	}
}
