Class InvalidMediaTypeException

All Implemented Interfaces:
Serializable

public class InvalidMediaTypeException extends IllegalArgumentException
Exception thrown from MediaType.parseMediaType(String) in case of encountering an invalid media type specification String.
Since:
0.5.0
Author:
Juergen Hoeller
See Also:
  • Method Details

    • getMediaType

      public String getMediaType()
      Return the offending media type.
      Returns:
      the offending media type