1: <?php
2:
3: namespace Csim\Model;
4:
5: /**
6: * Indicates that the specified instruction type can not be simulated by the cache.
7: */
8: class InvalidInstructionException extends \Exception {
9:
10: /**
11: * Constructs an exception indicating thet the specified instruction is not valid.
12: *
13: * @param string $instruction the invalid instruction.
14: */
15: public function __construct($instruction) {
16: parent::__construct("The instruction '" . $instruction . "' can not be simulated.");
17: }
18:
19: }
20: