You are here

public function MultiversionException::__construct in Multiversion 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Exception/MultiversionException.php \Drupal\multiversion\Entity\Exception\MultiversionException::__construct()

Parameters

EntityInterface $entity:

null|string $message:

int $code:

\Exception $previous:

File

src/Entity/Exception/MultiversionException.php, line 20

Class

MultiversionException

Namespace

Drupal\multiversion\Entity\Exception

Code

public function __construct(EntityInterface $entity = NULL, $message = NULL, $code = 0, \Exception $previous = NULL) {
  $this->entity = $entity;
  parent::__construct($message, $code, $previous);
}