/**
  * Create a new presenter not found exception.
  *
  * @param string      $class
  * @param string|null $message
  *
  * @return void
  */
 public function __construct($class, $message = null)
 {
     if (!$message) {
         $message = "The presenter class '{$class}' was not found.";
     }
     parent::__construct($class, $message);
 }
 /**
  * Create a new method not found exception.
  *
  * @param string      $class
  * @param string      $method
  * @param string|null $message
  *
  * @return void
  */
 public function __construct($class, $method, $message = null)
 {
     $this->method = $method;
     if (!$message) {
         $message = "The method '{$method}' was not found on the presenter class '{$class}'.";
     }
     parent::__construct($class, $message);
 }
 public function __construct($pageName, $repoPath, $prevException = null)
 {
     parent::__construct(sprintf("Wiki page '%s' not found in '%s'.", $repoPath, $pageName), 1, $prevException);
 }
 public function __construct($id, $code = null, $previous = null)
 {
     parent::__construct($id, 'Protocol', $code, $previous);
 }
 public function __construct($id, $code = null, $previous = null)
 {
     parent::__construct($id, 'Config', $code, $previous);
 }
Exemplo n.º 6
0
 /**
  * @param string $id The users id
  * @param string $region The users region
  */
 public function __construct($id = '(Unknown id)', $region = '(Unknown region)')
 {
     parent::__construct($id, $region);
 }
Exemplo n.º 7
0
 function __construct($name)
 {
     parent::__construct("Method not found: {$name}");
 }
 function __construct($controllerName, $code = 404)
 {
     $message = sprintf('Controller "%s" could not be found, or is not accessible.', $controllerName);
     parent::__construct($message, $code);
 }
Exemplo n.º 9
0
 /**
  * @param RequesterInterface $requester
  * @param ResourceInterface  $resource
  */
 public function __construct(RequesterInterface $requester, ResourceInterface $resource)
 {
     parent::__construct(sprintf('Unable to find any permission where requester is "%s" and resource is "%s"', $requester->getAclRequesterIdentifier(), $resource->getAclResourceIdentifier()));
 }
Exemplo n.º 10
0
 /**
  * @param string $type
  */
 public function __construct($type, $code = 0, Exception $previous = null)
 {
     $this->type = strtolower($type);
     $message = "The specified {$this->type} could not be found";
     parent::__construct($message, $code, $previous);
 }
 function __construct($paramName)
 {
     parent::__construct("Section: '{$paramName}' was not found");
 }
Exemplo n.º 12
0
 public function __construct($message, $code = 0, $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($wikiPageType, $wikiPageName)
 {
     parent::__construct(sprintf("Invalid page type: %s (page name: %s)", $wikiPageType, $wikiPageName));
 }