2014-05-06 19:39:41 +02:00
|
|
|
<?php
|
|
|
|
class ApiJobUnsatisfiedException extends SimpleException
|
|
|
|
{
|
2014-05-12 16:46:14 +02:00
|
|
|
public function __construct(IJob $job, $arg = null)
|
2014-05-06 19:39:41 +02:00
|
|
|
{
|
2014-05-12 10:31:34 +02:00
|
|
|
parent::__construct('%s cannot be run due to unsatisfied execution conditions (%s).',
|
|
|
|
get_class($job),
|
|
|
|
$arg);
|
2014-05-06 19:39:41 +02:00
|
|
|
}
|
|
|
|
}
|