* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Xabbuh\XApi\Common\Exception; /** * Statement id already exists exception. * * @author Jérôme Parmentier */ class StatementIdAlreadyExistsException extends XApiException { public function __construct($statementId, \Exception $previous = null) { parent::__construct(sprintf('A statement with ID "%s" already exists.', $statementId), 0, $previous); } }