*/ namespace oat\taoQtiTest\models\runner; class QtiRunnerEmptyResponsesException extends \common_Exception implements \common_exception_UserReadableException { /** * Create a new QtiRunnerEmptyResponseException object. * * @param string $message the message */ public function __construct($message = 'A response to this item is required', $code = 200) { parent::__construct($message, $code); } /** * Returns a translated human-readable message destinated to the end-user. * * @return string A human-readable message. */ public function getUserMessage() { return __('A response to this item is required.'); } }