You are here

public function RealisticDummyContentException::__construct in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::__construct()
  2. 7.2 api/src/includes/RealisticDummyContentException.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentException::__construct()

Constructor.

File

api/src/includes/RealisticDummyContentException.php, line 21

Class

RealisticDummyContentException
An Exception.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function __construct($message) {
  parent::__construct($message);
  $this
    ->log();
}