/** * Class constructor. * Calls the parent exception constructor. * @param string $annotationName * @param string[] $annotationParameters * @param null|\Exception $previousException */ public function __construct($annotationName, array $annotationParameters, \Exception $previousException = null) { parent::__construct(sprintf("Annotation `%s` parameters (`%s`) missed.", $annotationName, implode("`, `", $annotationParameters)), 0, $previousException); }
/** * Class constructor. * Calls the parent exception constructor. * @param string $annotationName * @param null|\Exception $previousException */ public function __construct($annotationName, \Exception $previousException = null) { parent::__construct(sprintf("Annotation `%s` missed.", $annotationName), 0, $previousException); }
/** * Class constructor. * Calls the parent exception constructor. * @param string $filename the filename which does not exists * @param null|\Exception $previousException */ public function __construct($filename, \Exception $previousException = null) { parent::__construct(sprintf("File does not exists `%s`.", $filename), 0, $previousException); }
/** * Class constructor. * Calls the parent exception constructor. * @param integer $target * @param null|\Exception $previousException */ public function __construct($target, \Exception $previousException = null) { parent::__construct(sprintf("Invalid target `%d`.", $target), 0, $previousException); }
/** * Class constructor. * Calls the parent exception constructor. * @param string $filename the filename which triggered the exception * @param null|\Exception $previousException */ public function __construct($filename, \Exception $previousException = null) { parent::__construct(sprintf("Unable to locate qualified class name for file `%s`.", $filename), 0, $previousException); }