Class InvalidMediaTypeException

    • Constructor Detail

      • InvalidMediaTypeException

        public InvalidMediaTypeException​(String mediaType,
                                         String message)
        Create a new InvalidMediaTypeException for the given media type.
        Parameters:
        mediaType - the offending media type
        message - a detail message indicating the invalid part