类 InvalidMimeTypeException

所有已实现的接口:
Serializable

public class InvalidMimeTypeException extends IllegalArgumentException
Exception thrown from MimeTypeUtils.parseMimeType(String) in case of encountering an invalid content type specification String.
从以下版本开始:
2019-12-08 19:28
作者:
Juergen Hoeller, Rossen Stoyanchev, Harry Yang
另请参阅:
  • 字段详细资料

    • mimeType

      private final String mimeType
  • 构造器详细资料

    • InvalidMimeTypeException

      public InvalidMimeTypeException(String mimeType, String message)
      Create a new InvalidContentTypeException for the given content type.
      参数:
      mimeType - the offending media type
      message - a detail message indicating the invalid part
  • 方法详细资料

    • getMimeType

      public String getMimeType()
      Return the offending content type.