open-orchestra/open-orchestra-model-interface

View on GitHub
ModelInterface/Exceptions/StoredProcedureException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\ModelInterface\Exceptions;

/**
 * Class StoredProcedureException
 */

class StoredProcedureException extends \Exception
{
    /**
     * @param string $name
     * @param string $parameter
     */
    public function __construct($name = "", $parameter = "")
    {
        parent::__construct(
            sprintf('Stored procedure Error : unable to terminate %s stored procedure with %s as parameter.', $name, $parameter)
        );
    }
}