/**
  * exception thrown when we have been given a path that is a file
  * that we cannot execute
  *
  * @param string $path
  *        the filesystem path that is invalid
  */
 public function __construct($path)
 {
     $msg = "Path '{$path}' is not an executable file";
     // all done
     parent::__construct(400, $msg);
 }
 /**
  * exception thrown when we have been given a path that does not appear
  * to exist
  *
  * this can also happen when we have been given a path that we do not
  * have permission to use. it isn't always possible to tell the two
  * apart
  *
  * @param string  $path
  *        the filesystem path that is invalid
  */
 public function __construct($path)
 {
     $msg = "Invalid filesystem path '{$path}";
     // all done
     parent::__construct(400, $msg);
 }
 /**
  * exception thrown when we have been given a path that is not an
  * absolute path
  *
  * @param string  $path
  *        the filesystem path that is invalid
  */
 public function __construct($path)
 {
     $msg = "Path '{$path}' is not an absolute path to a folder";
     // all done
     parent::__construct(400, $msg);
 }