/**
  * 
  */
 public function __construct()
 {
     parent::__construct(self::EXCEPTION_MESSAGE, null, null);
 }
示例#2
0
 /**
  * Construct it by building up an appropriate message.
  * @param name The name which was not found.
  */
 public function __construct($name)
 {
     parent::__construct("Name not found: '{$name}'");
     $this->name = $name;
 }
示例#3
0
 /**
  * Construct it with the given error result.
  * @param exitCode The shell's exit code returned.
  */
 public function __construct($exitCode)
 {
     parent::__construct("Namecoind execution failed" . " with exit code {$exitCode}.");
     $this->exitCode = $exitCode;
 }