3require_once
'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacException.php';
4require_once
'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacFormAlertProvider.php';
46 'The value "%s" does not exist for the current question',
$value
52 'The value "%s" does not exist for the answer with index "%s" of the current question',
59 'The value "%s" does not exist for the question Q%s',
66 'The value "%s" does not exist for the question Q%s[%s]',
71 parent::__construct($msg);
106 return sprintf($lng->
txt(
"ass_lac_answer_value_not_exists_cur_qst_one_answer"), $this->getValue()
112 return sprintf($lng->
txt(
"ass_lac_answer_value_not_exists_cur_qst"),
113 $this->getValue(), $this->getAnswerIndex()
119 return sprintf($lng->
txt(
"ass_lac_answer_value_not_exists_one_answer"),
120 $this->getValue(), $this->getQuestionIndex()
124 return sprintf(
$lng->txt(
"ass_lac_answer_value_not_exists"),
125 $this->getValue(), $this->getQuestionIndex(), $this->getAnswerIndex()
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
__construct($question_index, $value, $answer_index=null)
getFormAlert(ilLanguage $lng)
txt($a_topic, $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...