[HttpClient] Make exceptions public

This commit is contained in:
Kévin Dunglas 2019-03-13 16:13:50 +01:00 committed by Fabien Potencier
parent 29f81b003f
commit 928d774e4a
6 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
*
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class ClientException extends \RuntimeException implements ClientExceptionInterface
{

View File

@ -16,7 +16,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
/**
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class InvalidArgumentException extends \InvalidArgumentException implements TransportExceptionInterface
{

View File

@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
*
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class JsonException extends \JsonException implements TransportExceptionInterface
{

View File

@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
*
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class RedirectionException extends \RuntimeException implements RedirectionExceptionInterface
{

View File

@ -18,7 +18,7 @@ use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
*
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class ServerException extends \RuntimeException implements ServerExceptionInterface
{

View File

@ -16,7 +16,7 @@ use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
/**
* @author Nicolas Grekas <p@tchwork.com>
*
* @internal
* @experimental in 4.3
*/
final class TransportException extends \RuntimeException implements TransportExceptionInterface
{