~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to src/workflow/exception/ArcanistCapabilityNotSupportedException.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-01 23:20:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20141101232006-mvlnp0cil67tsboe
Tags: upstream-0~git20141101/arcanist
Import upstream version 0~git20141101, component arcanist

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
final class ArcanistCapabilityNotSupportedException extends Exception {
 
4
 
 
5
  public function __construct(ArcanistRepositoryAPI $api) {
 
6
    $name = $api->getSourceControlSystemName();
 
7
    parent::__construct(
 
8
      "This repository API ('{$name}') does not support the requested ".
 
9
      "capability.");
 
10
  }
 
11
 
 
12
}