public function __construct($errorUri, $arguments = null, $argumentsKw = null, $details = null)
{
$this->setErrorUri($errorUri);
$this->setArguments($arguments);
$this->setArgumentsKw($argumentsKw);
$this->setDetails($details);
$exceptionMessage = $errorUri;
if (is_array($arguments) && isset($arguments[0]) && is_string($arguments[0])) {
$exceptionMessage = $arguments[0];
}
parent::__construct($exceptionMessage);
}