public function __construct($service, $message)
 {
     $this->service = $service;
     parent::__construct($message);
 }
 /**
  * Create a new QtiTestCompilationFailedException object.
  * 
  * @param string $message A technical message to developers.
  * @param core_kernel_classes_Resource A Resource object in database describing the test that failed to compiled.
  * @param integer $code A code to explicitely identify the nature of the error.
  */
 public function __construct($message, core_kernel_classes_Resource $test, $code = 0)
 {
     parent::__construct($message, $code);
     $this->setTest($test);
 }