Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 382 Bytes
<?php
require_once __DIR__ . '/RestRequest.class.php';
require_once __DIR__ . '/RestException.class.php';
/**
* Handles exception
*/
class RestInvalidRequest extends RestRequest
{
public function __construct(RestResponseSerializer $responseSerializer, RestException $exception)
{
parent::__construct($responseSerializer);
$responseSerializer->setError($exception);
}
}