Remove product literal strings in "pht()", part 18
[phabricator.git] / src / applications / transactions / exception / PhabricatorApplicationTransactionStructureException.php
blob53728da5dad3587940b4f5cd0a7c7c47dbf33925
1 <?php
3 final class PhabricatorApplicationTransactionStructureException
4 extends Exception {
6 public function __construct(
7 PhabricatorApplicationTransaction $xaction,
8 $message) {
10 $full_message = pht(
11 'Attempting to apply a transaction (of class "%s", with type "%s") '.
12 'which has not been constructed correctly: %s',
13 get_class($xaction),
14 $xaction->getTransactionType(),
15 $message);
17 parent::__construct($full_message);