public final class MissingMIMETypeException extends Exception
Source.Builder.mimeType(java.lang.String) to eliminate this exception. This exception
informs users of Source.Builder that they have to provide a MIME type before building the
final Source object.
Some of the factory methods already provide a MIME type: Source.newBuilder(java.io.File)
or Source.newBuilder(java.net.URL). Other (like Source.newBuilder(java.io.Reader)
) require one to call Source.Builder.mimeType(java.lang.String) explicitly.
Rather than catching this exception, make sure your code calls
Source.Builder.mimeType(java.lang.String).
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString