Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update javadoc of HttpMediaTypeException constructor [SPR-9513] #14147

Closed
spring-issuemaster opened this issue Jun 16, 2012 · 0 comments
Closed

Update javadoc of HttpMediaTypeException constructor [SPR-9513] #14147

spring-issuemaster opened this issue Jun 16, 2012 · 0 comments
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jun 16, 2012

Mattias Severson opened SPR-9513 and commented

The javadoc of one of the constructors of [HttpMediaTypeException](http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/web/HttpMediaTypeException.html#HttpMediaTypeException(java.lang.String, java.util.List)) should be updated, because it describes the creation of a different exception:

public abstract class HttpMediaTypeException extends ServletException {

    // ...
    
    /**
     * Create a new HttpMediaTypeNotSupportedException.
     * @param supportedMediaTypes the list of supported media types
     */
    protected HttpMediaTypeException(String message, List<MediaType> supportedMediaTypes) {
        // ... 
    }

Affects: 3.1.1

Referenced from: commits 277a115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.