Questtype ?Textinput?: add support for field sizes (Issue #252) and general improvements

This commit is contained in:
coderkun 2014-05-19 11:36:36 +02:00
commit 8d903135a5
3476 changed files with 599099 additions and 0 deletions

View file

@ -0,0 +1,68 @@
<?php
/**
* NRE
*
* @author coderkun <olli@coderkun.de>
* @copyright 2013 coderkun (http://www.coderkun.de)
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.coderkun.de/projects/nre
*/
namespace nre\exceptions;
/**
* Exception: Driver not found.
*
* @author coderkun <olli@coderkun.de>
*/
class DriverNotFoundException extends \nre\exceptions\ClassNotFoundException
{
/**
* Error code
*
* @var int
*/
const CODE = 71;
/**
* Error message
*
* @var string
*/
const MESSAGE = 'driver not found';
/**
* Construct a new exception.
*
* @param string $driverName Name of the driver that was not found
*/
function __construct($driverName)
{
// Elternkonstruktor aufrufen
parent::__construct(
$driverName,
self::MESSAGE,
self::CODE
);
}
/**
* Get the name of the driver that was not found.
*
* @return string Name of the driver that was not found
*/
public function getDriverName()
{
return $this->getClassName();
}
}
?>