public function __construct($part, $partkey, $entry, $entrykey)
 {
     $this->part = $part;
     $this->partkey = $partkey;
     $this->entry = $entry;
     $this->entrykey = $entrykey;
     parent::__construct("unknown " . $entrykey . " in " . $part . "[" . $partkey . "] " . $entry[$entrykey], 15);
 }
 public function __construct($needle, $haystack)
 {
     $this->needle = $needle;
     $this->haystack = $haystack;
     parent::__construct("cannot calculate position of " . $needle . " within " . $haystack, 5);
 }
 public function __construct($key)
 {
     $this->key = $key;
     parent::__construct($key . " not implemented.", 20);
 }