for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the skidata-library package.
*
* (c) 2017 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\SkiData\Exception;
* SkiData too long data exception.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\SkiData\Exception
class SkiDataTooLongDataException extends AbstractSkiDataException {
* Constructor.
* @param string $value The value.
* @param integer $length The length.
public function __construct($value, $length) {
parent::__construct(sprintf("The data \"%s\" exceeds the length \"%d\" allowed", $value, $length));
}