<?php 

namespace NPS\Exception;

/**
 * Exception for TCreate trait
 * @author Lukas Korinek
 */
class NonExistingPropertyException extends \Exception
{
    public function __construct($classname, $setter)
    {
        parent::__construct(sprintf('Property "%s" doesn\'t exist in class "%s"', $setter, $classname));
    }
}

