/**
  * Create a new UnsupportedQtiElement object.
  * 
  * @param DOMElement $element The element which represents the unsupported QTI class.
  */
 public function __construct(DOMElement $element)
 {
     parent::__construct('The QTI class "' . $element->nodeName . '" is currently not supported.', $this->code);
     $this->setElement($element);
 }
 /**
  * Create a new UnexpectedResponseProcessing object.
  * 
  * @param string $message A message.
  * @param integer $code An optional code enabling the client code to react. 
  * @param string $requestedUri An invalid Response processing template URI.
  */
 public function __construct($message, $code = 0, $requestedUri = '')
 {
     parent::__construct($message, $code);
     $this->setRequestedUri($requestedUri);
 }