An error occurred while loading the file. Please try again.
-
Guillaume Perréal authored2ec19af7
<?php declare(strict_types=1);
/**
* Copyright (C) 2019 IRSTEA
* All rights reserved.
*
* @copyright 2019 IRSTEA
* @author guillaume.perreal
*/
namespace Irstea\NgModelGeneratorBundle\Exceptions;
use Throwable;
/**
* Class InvalidModelException
*/
class InvalidModelException extends DomainException
{
/**
* @var string
*/
private $className;
/**
* {@inheritDoc}
*/
public function __construct(string $className, $message = '', Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
$this->className = $className;
}
/**
* Get className.
*
* @return string
*/
public function getClassName(): string
{
return $this->className;
}
}