/**
* The constructor
*
- * @param $fqfn Full-qualified file name of (maybe) missing file
- * @param $code Code number for the exception
+ * @param $fqfn Full-qualified file name of (maybe) missing file
+ * @param $code Code number for the exception
* @return void
*/
public function __construct ($fqfn, $code) {
// Add a message around the missing class
- $message = sprintf("The requested file <span id=\"exception_reason\">%s</span> was not found.", $fqfn);
+ $message = sprintf("The requested file <span id=\"exception_reason\">%s</span> was not found.",
+ $fqfn
+ );
+
+ // Set extra data
+ $this->setExtraData(basename($fqfn));
// Call parent constructor
parent::__construct($message, $code);