Location: PHPKode > projects > Neobill > NeoBill0.5.6/solidworks/exceptions/FieldNotNumericalException.class.php
<?php
/**
 * FieldNotNumericalException.class.php
 *
 * This file contains the definition of the FieldNotNumericalException class.
 *
 * @package SolidWorks
 * @author John Diamond <hide@address.com>
 * @copyright John Diamond <hide@address.com>
 * @license http://www.opensource.org/licenses/gpl-license.php GNU Public License
 */

/**
 * FieldNotNumericalException
 *
 * @package SolidWorks
 * @author John Diamond <hide@address.com>
 */
class FieldNotNumericalException extends FieldException {
	const MESSAGE = '[PLEASE_ENTER_A_NUMERIC_VALUE_FOR] %s.';

	/**
	 * FieldNotNumericalException Constructor
	 */
	public function __construct() {
		parent::__construct();
	}

	/**
	 * Error Message String
	 *
	 * @return string An error message that can be displayed to the user
	 */
	public function __toString() {
		return sprintf( self::MESSAGE, $this->getField() );
	}
}
?>
Return current item: Neobill