@@ -15,6 +15,8 @@ namespace Symfony\Component\Routing\Exception;
* ExceptionInterface
*
* @author Alexandre Salomé <alexandre.salome@gmail.com>
+ *
+ * @api
*/
interface ExceptionInterface
{
* Exception thrown when a parameter is not valid
class InvalidParameterException extends \InvalidArgumentException implements ExceptionInterface
@@ -17,6 +17,8 @@ namespace Symfony\Component\Routing\Exception;
* This exception should trigger an HTTP 405 response in your application code.
* @author Kris Wallsmith <kris@symfony.com>
class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface
@@ -16,6 +16,8 @@ namespace Symfony\Component\Routing\Exception;
* mandatory parameters.
class MissingMandatoryParametersException extends \InvalidArgumentException implements ExceptionInterface
* This exception should trigger an HTTP 404 response in your application code.
class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface
* Exception thrown when a route does not exists
class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface