Class UnprocessableEntityException

  • All Implemented Interfaces:
    Serializable

    @Deprecated(forRemoval=true)
    public class UnprocessableEntityException
    extends AbstractUnprocessableEntityException
    Deprecated, for removal: This API element is subject to removal in a future version.
    Throwing UnprocessableEntityException doesn't say why the entity is unprocessable and is generally a bad fit as no client ever really has a chance of handling such a response. Instead, consider creating an exception class specific to the respective problem that extends AbstractUnprocessableEntityException.
    Thrown when the entity is syntactically correct (e.g. all non-null properties are set), but could not be processed for semantic reasons (e.g. invalid references to other database entities).
    See Also:
    Serialized Form
    • Constructor Detail

      • UnprocessableEntityException

        public UnprocessableEntityException()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • UnprocessableEntityException

        public UnprocessableEntityException​(String message,
                                            Throwable cause)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • UnprocessableEntityException

        public UnprocessableEntityException​(String message)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • UnprocessableEntityException

        public UnprocessableEntityException​(Throwable cause)
        Deprecated, for removal: This API element is subject to removal in a future version.