Overview

Namespaces

  • Csim
    • Controller
    • Model
    • Util
  • PHP

Classes

  • Cache
  • CacheCell
  • CacheLayout
  • Execution
  • Instruction
  • InstructionType
  • Set
  • SimulationState

Exceptions

  • InvalidInstructionException
  • Overview
  • Namespace
  • Class
  • Tree
 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: 
csim-jquery-nophpfw API documentation generated by ApiGen 2.8.0